Previous Section Table of Contents Next Section

Review

You've seen several examples of how to query basic WMI information in this chapter. I showed you how to look for the proper WMI classes, write more complex WQL queries, and test your queries. I also showed you how to start with a wizard-created template script and modify it to suit your needs, even if those needs involve changing something or performing an action, rather than simply displaying or retrieving WMI information. I've shown you examples of how WMI can be queried in different ways that will help you work with the many different examples you'll find on the Web and in other publications.

All of this will help you work with most of the simpler WMI classes. Some classes, however, represent more complex bodies of information, and have to be handled a bit differently. I'll cover those in the next chapter.

COMING UP

Working with complex information like shares, file and folder security, and user accounts requires you to build on the basic WMI skills you've learned so far. In the next chapter, I'll introduce you to associator classes and references in WMI, and explain how to work with more complex information and interrelated WMI classes.

    Previous Section Table of Contents Next Section