Quick Actions
Get-CimInstance
Description
Gets the CIM instances of a class from a CIM server. (Modern replacement for Get-WmiObject).
Command
Get-CimInstance
Examples
Get BIOS information
Get-CimInstance -ClassName Win32_BIOS
Get operating system information
Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object -Property *
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
[-ClassName] <String> |
string | No | Specifies the name of the CIM class for which to retrieve the instances (e.g., Win32_BIOS). |
[-ComputerName <String[]>] |
string | No | Specifies the computer on which to run the command. |
Command Info
Category:
System Management
Type:
Powershell
Views:
12
Status:
Active
Tags
powershell
wmi
cim
system
hardware