There's not too much you can actually do with the Services snap in except start and stop the service. But this is intended to place WMI "in context" and show you how it relates to other services that run on your machine. (By the way, if you're not running Windows 2000 or greater, WMI isn't even running by default on your computer, so most of this may not be too meaningful to you.)
As always, the best way to learn is by doing so it's time now to write an actual script. In line with our goal of actually using a real world system, we're going to
- Retrieve some management information about the computer you're using.
- Add this information to another object supported by VBScript for convenient use in your program.
- Save the information in a file for later reference.
These tasks were selected because they're the types of things that VBScript is used for in the "real world".
The administrative information in WMI is kept in the WMI "repository". While it's possible to go directly to the source and view the WMI repository itself, the best way to access this information in VBScript is by using one of a number of "namespaces" that collect the information for you. We'll use the "cimv2" namespace. (Remember CIM from our discussion earlier?)

