Scriptomatic 2.0 – a Tool to Learn about the WMI interface
Scriptomatic 2.0 is a magic program, which can actually write your WMI scripts. It will almost never make a syntax error, and will guide into new scripting areas. Here in Scriptomatic version 2, is the ultimate for collecting information about the operating system processes and object classes. Compared with version 1, the big improvement is in the Output Format(s). If there is a problem, it’s because the output will swamp you with data, so our first task is to master the filters.
Topics for Scriptomatic 2.0
- Scriptomatic in Action
- Download and Getting Started with Scriptomatic
- WMI Tutorial Learning Points for Scriptomatic
- Scenarios – When to use Scriptomatic2.0
- Summary – Scriptomatic
Once you have your free downloaded of Scriptomatic 2.0, you are ready to discover more about WMI in general and root\CIM2.0 in particular. Your choice of objects to interrogate is revealed by the drop down menu under WMI Class. Once you have made your selection, observe the WMI / VBScript code and just click on the Run button.
- Free download Scriptomatic2.0.Zip and Extract the file.
- Double Click the Scriptomatic2.0.hta
- Once the file opens, leave the WMI Namespace as Root\CIM2.0
- Select a WMI Class, for example Win32_BIOS
- Check the Output Format (Lower Right), for example HTML
- Click on Run (Top Left)
Output Format. The big improvement in version 2 of Scriptomatic comes in the choice of output. While the screen shot show the radio button on Command Prompt, I prefer HTML to display the data. For those occasions when you need a script, click on the Save button under WMI Class.
Constants are entered automatically. Normally I find it very difficult to manually set a constant’s hex / decimal numbers correctly, Scriptomatic is right every time.
Target Computer (comma-delimited). If you fill in several computers separated by commas, observe how Scriptomatic employs the array method. What I am thinking is once you have perfected the script for the local machine, you can easily amend the script to run on tens of different machines by entering their names in the Target Computer (comma-delimited) Box.
WMI Namespace. Normally I stick with Root\CIM2.0, however you could experiment with: Microsoft IIS, LDAP or MSAPPS11.
Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft’s operating systems. Fortunately, SolarWinds have created a Free WMI Monitor so that you can discover these gems of performance information, and thus improve your scripts.
Take the guess work out of which WMI counters to use when scripting the operating system, Active Directory or Exchange Server. Give this WMI monitor a try – it’s free.
Create WMI scripts.
Connect to the CIM2.0 library and learn about the operating systems objects and properties.
Get instant feedback on WMI \ CIM properties of your Win32 objects. For example, Win32_Service, Win32_DiskDrive.
Automate and control your network and its computers.
Scriptomatic 2.0 is a must have utility for those who are interested in WMI scripts.
Get started by getting your free download of Scriptomatic 2.0
If you like this page then please share it with your friends
See more VBScript WMI examples: