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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.