The show output is produced with the below script. What changes can we make to further filter and obtain only the Win32 classes? Get-CimClass -ClassName *computerSystem* CimClassName CimClassMethods CimClassProperties ------------ --------------- ------------------ Win32_ComputerSystemEvent {} {SECURITY_DESCRIPTOR, TI... CIM_ComputerSystem {} {Caption, Description, I... CIM_UnitaryComputerSystem {SetPowerState} {Caption, Description, I... Win32_ComputerSystem {SetPowerState, R... {Caption, Description, I... CIM_ComputerSystemPackage {} {Antecedent, Dependent} Win32_ComputerSystemProcessor {} {GroupComponent, PartCom... CIM_ComputerSystemResource {} {GroupComponent, PartCom... CIM_ComputerSystemMappedIO {} {GroupComponent, PartCom... CIM_ComputerSystemDMA {} {GroupComponent, PartCom... CIM_ComputerSystemIRQ {} {GroupComponent, PartCom... Win32_ComputerSystemProduct {} {Caption, Description, I...
Book reference: Windows PowerShell Step by Step 3rd Edition - Ed Wilson
Chapter 14
3. The show output is produced with the below script. What changes can we make to further filter and obtain only the Win32 classes?
Get-CimClass -ClassName *computerSystem*
CimClassName CimClassMethods CimClassProperties ------------ --------------- ------------------ Win32_ComputerSystemEvent {} {SECURITY_DESCRIPTOR, TI... CIM_ComputerSystem {} {Caption, Description, I... CIM_UnitaryComputerSystem {SetPowerState} {Caption, Description, I... Win32_ComputerSystem {SetPowerState, R... {Caption, Description, I... CIM_ComputerSystemPackage {} {Antecedent, Dependent} Win32_ComputerSystemProcessor {} {GroupComponent, PartCom... CIM_ComputerSystemResource {} {GroupComponent, PartCom... CIM_ComputerSystemMappedIO {} {GroupComponent, PartCom... CIM_ComputerSystemDMA {} {GroupComponent, PartCom... CIM_ComputerSystemIRQ {} {GroupComponent, PartCom... Win32_ComputerSystemProduct {} {Caption, Description, I...
Step by step
Solved in 3 steps with 1 images