Previous Section Table of Contents Next Section

Chapter 18. Querying Basic WMI Information

IN THIS CHAPTER

You've already learned how to perform very basic WMI queries; now it's time to really learn how those queries are working under the hood. I'll walk through the query-building process in more detail, and show you various ways to manipulate and work with the information you retrieve from WMI.

In the previous chapter, I showed you a standard template-style WMI query that you can modify to query almost anything from WMI. What I didn't do is show you exactly how that query works, how you can easily incorporate it into other scripts, and how to utilize the information you retrieve. If you start using WMI examples from the Web, you might even notice that different script authors write their WMI queries in completely different ways. There's nothing wrong with that, because WMI is flexible enough to work in different ways and still achieve the results you need.

    Previous Section Table of Contents Next Section