CIM (Common Information Model) in Powershell

CIM is the superset of WMI. CIM defines the latest mechanism to access the information from Win32 classes.

Below command will get the list of all processes running in your system.

Get-CimInstance –ClassName Win32_Process

Below command will get the list of hard drives in your system.

Get-CimInstance –ClassName Win32_LogicalDisk

 

You may also like...