Share via


Windows WMI Reference

Any script or code that uses Windows Management Instrumentation (WMI) needs to use some basic Windows WMI interfaces. For example, to use WMI in a command-line script, you must make a connection to the WbemScripting object before you can access objects in individual WMI providers such as the IIS WMI provider. The WMI interfaces also include methods which are frequently used. For example, the Get method of the SWbemServices object and the Set_ method of the SWbemObject object allow you to change properties in a data store such as the IIS metabase. When writing scripts and code that use WMI, it saves time to open on your screen a reference to the Windows WMI interfaces.

The objects, properties, and methods of the Windows WMI interfaces are already documented in the WMI SDK which is downloadable from MSDN Downloads - Windows Management Instrumentation (WMI) SDK, and available online at Windows Management Instrumentation Platform SDK.

Related Topics