Get-CimInstance
Jump to navigation
Jump to search
Get-CimInstance -ClassName Win32_Battery -ComputerName laptop1, workstation2
(Get-CimInstance -ClassName Win32_Battery).BatteryStatus