Chapter 9: Using Win32 WMI Classes 181
Understanding WMI Service Management
Another grouping of WMI classes is used to assist us with the management of WMI. The main
WMI class in this group is the Win32_WMISetting class. This class can retrieve some real nifty
information about the way WMI is configured on your computer. Many of these properties are
writable, so not only can you query the property, but you can also use the property to change
the behavior of WMI. If you need to verify the default namespace, use the ASPScriptDefault-
Namespace property. But if you need to change the default namespace, you can write a value to
the same property. If you are concerned about the WMI logging level, query the LoggingLevel
property. I illustrate using ...