|
Guy recommends :
Find out which of your VMs are a waste of space and which VMs need more resources.
|
WBEMTEST for WMIWBEMTEST - A Tool for Learning About WMI ObjectsWBEMTEST is a built-in Windows program which will show you the WMI objects, classes and methods. My best advice is to start with ScriptomaticV2 rather than WBEMTEST. That said, although WBEMTEST is clunky, it does expose more details of each WMI property. Topics for WBEMTEST
Launching WBEMTESTTo launch WBEMTEST, all that you need to do is type the name WBEMTEST in the run dialog box. This executable is available on Windows 2000 and later machines. ' The Secret to Getting Started with WBEMTESTA reminder of our mission: To find the precise names of WMI objects and properties, which we will then use in the heart of our VBScripts. Once you have opened WBEMTEST, there are two crucial points in initializing this tool, knowing what to put in the Connect Namespace box, and finding the Recursive radio button. I say again, mostly I favour Scriptomatic over WBEMTEST, however if you wish to run WBEMTEST, beware there is knack to getting started, look out for these three settings:. 1) Once you launch WBEMTEST, note that the Namespace says: root\default. We want to change this to CIMV2, so click on the Connect... Button. When a second dialog box appears, crucially, change root\default to root\cimv2, now click another Connect button. 2) Now about 15 buttons should come alive. Click on Enum Classes (Top left button see diagram). 3) Move the radio button to Recursive, and click OK. There is no need to type anything in the Enter superclass name, dialog box. I have to confess that when I am in a rush, instead of selecting Recursive, I click on OK the result is most disappointing. More haste - less speed. So remember Recursive.
You should have reached your goal and now you should see a display of all the CIM objects.
Guy
Recommends: WMI Monitor and It's Free!
|
|
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.
|
*
Custom Search
|
Guy Recommends: WMI Monitor and It's Free!
|
|
Author: Guy Thomas Copyright © 1999-2012 Computer Performance LTD All rights reserved. Please report a broken link, or an error to: | |