Chapter 19. Querying Complex WMI Information


In the previous chapter, I briefly described how some Windows Management Instrumentation (WMI) classes have complex interrelationships with other classes, and promised to show you—in this chapter—how to deal with the information contained in those relationships. I even mentioned specific WMI Query Language (WQL) keywords, including REFERENCES  OF and ASSOCIATORS  OF—that are used to query these complex classes. Now it’s time to dive in and put them to work.

Understanding WMI Relationships

Probably the best way to understand the more complex ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration 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.