Referencing Objects

WMI objects sit within a namespace and are bound by associations and class groups, but this structure is of no use to a system administrator without a mechanism for referring to objects and following associations. To pose the problem in a slightly different way, a management application or script that needs to interact with a WMI object must have some way of explaining its requirements to the Object Manager. The details of the mechanism used for communication between a management application or script and the Object Manager are partly dependent on the programming language and WMI interface being used. The various components of a typical object path are illustrated in Figure 1.3. We will see how to accomplish this through ...

Get Windows Management Instrumentation (WMI) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.