O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Querying WMI

After completing this chapter, you will be able to:

  • Understand the different methods for querying WMI.

  • Use the Select-Object cmdlet to create a custom object from a WMI query.

  • Configure the -filter argument to limit information returned by WMI.

  • Configure the WMI query to return selected properties.

  • Use the Where-Object cmdlet to filter information returned from WMI.

  • Leverage both hardware classes and system classes to configure machines.

After network administrators and consultants get their hands on a couple of Microsoft Windows Management Instrumentation (WMI) scripts, they begin to arrange all kinds of scenarios for use. This is both a good thing and a bad thing. The good thing is that WMI is powerful technology ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required