# 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.

![Cheat sheet for the lesson 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…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/37e1ec8c91a5495e830a4085fe33dc2c.webp)

- Category: PowerShell
- Level: Journeyman
- Tags: Calculated Property, cim-class, get-ciminstance, operating-system, powershell, select-object
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-cim-cheat-sheet
