Windows PowerShell™ 3.0 Step by Step

Windows PowerShell™ 3.0 Step by Step

Author:Ed Wilson [Ed Wilson]
Language: eng
Format: epub
Tags: COMPUTERS / System Administration / General
ISBN: 9780735663374
Publisher: Microsoft Press
Published: 2013-02-12T16:00:00+00:00


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

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

Open the Windows PowerShell console.

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, Instal... CIM_VideoController {SetPowerState, R... {Caption, Description, Instal... CIM_PCVideoController {SetPowerState, R... {Caption, Description, Instal... Win32_VideoController {SetPowerState, R... {Caption, Description, Instal... CIM_VideoBIOSFeature {} {Caption, Description, Instal... CIM_VideoControllerResolution {} {Caption, Description, Settin... Win32_VideoConfiguration {} {Caption, Description, Settin... CIM_VideoSetting {} {Element, Setting} Win32_VideoSettings {} {Element, Setting} CIM_VideoBIOSFeatureVideoBIOSEle... {} {GroupComponent, PartComponent}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.