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 14 quick reference

To

Do this

Find WMI classes related to disks

Use the Get-CimClass cmdlet and use a wildcard pattern such as *disk*.

Find WMI classes that have a method named create

Use the Get-CimClass cmdlet and a wildcard for the -classname parameter. Use the -methodname parameter to specify that you want classes that have the create method.

Find dynamic WMI classes

Use the Get-CimClass cmdlet and specify that you want the qualifier named dynamic.

Reduce the number of instances returned by the Get-CimInstance cmdlet

Use the -filter parameter and supply a filter that reduces the instances.

Reduce the number of properties returned by the Get-CimInstance cmdlet

Use the -property parameter and enumerate the required properties to ...

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