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 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.