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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.