Quick Actions
Get-WmiObject
Description
Gets instances of Windows Management Instrumentation (WMI) classes. (Legacy, use Get-CimInstance in newer PowerShell versions).
Command
Get-WmiObject
Examples
Get BIOS information
Get-WmiObject -Class Win32_BIOS
Get operating system information from a remote computer
Get-WmiObject -Class Win32_OperatingSystem -ComputerName Server01
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
[-Class] <String> |
string | No | Specifies the WMI class to retrieve (e.g., Win32_BIOS, Win32_OperatingSystem). |
[-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
gwmi