Abstract

This chapter examines the Windows management instrumentation (WMI) architecture, WMI-related tools, and WMI query language (WQL). Scripting on top of WMI implies the use of WMI COM objects. A script uses two types of objects: the objects obtained from the various class definitions located in the CIM repository (instances) and the objects exposed by the WMI scripting API (COM objects). The WMI scripting API is a collection of COM objects usable from most programming languages and scripting languages. In order to use the WMI COM objects they must first be instantiated. In addition, the CIM repository classes must also be instantiated as objects in order to reference the manageable entities of the real world. They are two instantiation types: the instantiation of the WMI scripting COM objects and the instantiation of the manageable entities. Both object types must be located in the system or in the CIM repository based on their nature. This chapter discovers the techniques for using WMI scripting objects.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call