Difference between revisions of "Get-CimInstance"
Jump to navigation
Jump to search
(Created page with "``` Get-CimInstance -ClassName Win32_Battery -ComputerName laptop1, workstation2 ```") |
|||
| Line 1: | Line 1: | ||
``` | ``` | ||
Get-CimInstance -ClassName Win32_Battery -ComputerName laptop1, workstation2 | Get-CimInstance -ClassName Win32_Battery -ComputerName laptop1, workstation2 | ||
| + | ``` | ||
| + | |||
| + | ``` | ||
| + | (Get-CimInstance -ClassName Win32_Battery).BatteryStatus | ||
``` | ``` | ||
Latest revision as of 20:42, 13 November 2020
Get-CimInstance -ClassName Win32_Battery -ComputerName laptop1, workstation2
(Get-CimInstance -ClassName Win32_Battery).BatteryStatus