Your Computer's Facts: `Get-CimInstance`
Get-CimInstance asks Windows' own catalog of facts about the computer, one class at a time, such as Win32_OperatingSystem for the Windows version and the last restart, Win32_LogicalDisk for the disks and Win32_Battery for the battery, and a calculated property turns its bytes into gigabytes.
Updated

- Category
- PowerShell
- Level
- Journeyman
- Tags
- Calculated Property, cim-class, get-ciminstance, operating-system, powershell, select-object