Get Your PC's Model and Serial Number from PowerShell

Query Win32_ComputerSystem and Win32_SystemEnclosure to read the manufacturer, model name and chassis serial number without flipping the laptop over.

WindowshardwarewmipowershellLow risk
Run `Get-CimInstance Win32_ComputerSystem | Select-Object Manufacturer, Model` and `Get-CimInstance Win32_SystemEnclosure | Select-Object SerialNumber` in PowerShell.

01Command

Command
$ $cs = Get-CimInstance Win32_ComputerSystem; Get-CimInstance Win32_SystemEnclosure | Select-Object @{n='Model';e={$cs.Manufacturer + ' ' + $cs.Model}}, SerialNumber

02What it does

Warranty registration and support calls need the exact model and serial number, which is printed on a small label at the bottom of most laptops. The same values live in WMI: Win32_ComputerSystem carries the manufacturer and model string, and Win32_SystemEnclosure carries the chassis serial number. These are also the values a remote IT department reads to inventory machines, so what you see matches what they ask for.

03Risk

RiskLow risk

04Undo

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

05Sources

Last verified: 2026-09-19 · Category: System & Settings

06Related solutions