Chapter 10. Querying WMI

Before You Begin

To work through the material presented in this chapter, you need to be familiar with the following concepts from earlier chapters:

  • Creating the WMI moniker

  • Implementing the For...Next construction

  • Navigating the WMI namespace

  • Implementing GetObject

  • Implementing the ExecQuery method

After completing this chapter, you will be able to:

  • Return all properties from all instances of a class

  • Return some properties from all instances of a class

  • Return all properties from some instances of a class

  • Return some properties from some instances of a class

Tell Me Everything About Everything!

When novices first write Windows Management Instrumentation (WMI) scripts, they nearly all begin by asking for every property about all instances ...

Get Microsoft® VBScript Step by Step 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.