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

Retrieving WMI instances: step-by-step exercises

In these exercises, you will practice using the CIM cmdlets to find and to retrieve WMI instances. The first example uses the CIM cmdlets to explore WMI classes related to video. In the second exercise, you will examine association WMI classes.

Exploring WMI video classes

  1. Log on to your computer with a user account that does not have administrator rights.

  2. Open the Windows PowerShell console.

  3. Use the Get-CimClass cmdlet to identify WMI classes related to video. The command and associated output appear here:

    PS C:\> Get-CimClass *video* NameSpace: ROOT/cimv2 CimClassName CimClassMethods CimClassProperties ------------ --------------- ------------------ CIM_VideoBIOSElement {} {Caption, Description, ...

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