WMI Scripts

 

Scriptomatic v 2.0 for WMI

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 version 2 in Action

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.

Scriptomatic 2.0 for WMI and VBScript Root\cimv2

'

Download and Get Started with Scriptomatic 2.0

  1. Free download Scriptomatic2.0.Zip and Extract the file.
  2. Double Click the Scriptomatic2.0.hta
  3. Once the file opens, leave the WMI Namespace as Root\CIM2.0
  4. Select a WMI Class, for example Win32_BIOS
  5. Check the Output Format (Lower Right), for example HTML
  6. Click on Run (Top Left)

WMI Tutorial Learning Points for Scriptomatic.

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.

Scenario - When to use Scriptomatic 2.0

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.

Summary - Scriptomatic 2.0

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

Computer Training Software - Recommended Training VideosGuy Thomas recommends Computer Training Software

Their topics and material are ideal for getting you started with VBScript.  The videos are easy to follow and you can control the pace.  Try their free demo material and then see if you want to buy the full package. See more about VB Script Training CD.


See Also


Introduction to WMIDownload my eBook:  Introduction to WMI - only  $6.25

30+ scripts to get you started with WMI.  Topics include memory, disk, process, and, File System Object.

In addition to the ebook, you get a PDF and version of Introduction to WMI.

 

 

 *


Google

Webcomputerperformance.co.uk

Guy Recommends: SolarWinds Exchange Monitor

Exchange Monitor from SolarWindsHere is a free tool to monitor your Exchange Server

 

Home Copyright © 1999-2008 Computer Performance LTD All rights reserved

Please report a broken link, or an error.