Summary

This chapter investigated the basics of filesystem representation in WMI. It described the WMI objects that represent files and directories, as well as the relationships between them. More usefully, this chapter illustrated the use of several core WMI mechanisms and structures, an understanding of which is crucial to making use of WMI in a real-world computing environment. These concepts include properties, methods, primary keys, collections, WQL SELECT queries, associators, WQL associator queries, and inheritance. In the next chapter, you will see how these can control computers across a network.

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.