Question: Chapter 1 4 1 . What is the Get - CimClass cmdlet used for? 2 . What difference will it make to the output by

Chapter 14
1. What is the Get-CimClass cmdlet used for?
2. What difference will it make to the output by moving the asterisk(*) to the beginning,end, or both in the below script?
Get-CimClass -ClassName *computer
Get-CimClass -ClassName computer*
Get-CimClass -ClassName *computer*
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...
4. What is the use of the ? character in the below CIM searches?
Get-CimClass -ClassName Win32_computerSystem?????
5. What does the method parameter specify in the Get-CimClass cmdlet?
6. What does the select object -expandpropery parameter do?
7. What is the use of the Unique parameter and sort-object in the below script?
Get-CimClass -ClassName *-QualifierName *| Select-Object -
ExpandProperty Ci mClassQualifiers | Select-Object Name -Unique |
Sort-Object Name
8. What is the use of the word deprecated under -QualifierName as in the below command?
Get-CimClass -QualifierName deprecated
9. What is a method to search for dynamic classes under *time classname?
10. What is the use of the below set of commands?
$disk = Get-CimInstance -ClassName Win32_LogicalDisk -KeyOnly
Get-CimAssociatedInstance -InputObject $disk[1]
11. What is the reason for the below error?
12. What are two methods of correcting the above error?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!