Chapter 18. Querying Basic WMI Information

IN THIS CHAPTER

In the previous chapter, I showed you a standard template-style WMI query that you can modify to query almost anything from Windows Management Instrumentation (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 ...

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.