System Summary With Get-ComputerInfo

Collect OS, hardware and firmware properties as one object.

Windowssystemsystem-infopowershellLow risk
Run Get-ComputerInfo -Property WindowsProductName, CsName to print selected properties.

01Command

Command
$ Get-ComputerInfo -Property WindowsProductName, CsName, OsHardwareAbstractionLayer

02What it does

Get-ComputerInfo gathers dozens of properties from several WMI classes into one object, which is convenient for inventory scripts and support tickets. Choosing properties with -Property keeps output focused and fast, which is more practical than querying each class separately.

03Risk

RiskLow risk
RequirementsWindows 10/11 with PowerShell 5.1 or PowerShell 7+
!Warning: The full cmdlet is slow because it queries many classes; always narrow it with -Property when scripting.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Get-ComputerInfo
    Microsoft Learn · vendor-doc · 2026-09-20
    Evidence: Gets consolidated operating system and hardware properties.

Last verified: 2026-10-13 · Category: System & Settings

06Related solutions