Skip to content

Find your PC's serial number without flipping it over — via Microsoft Learn

Commandlow riskWindows 11Windows 10

The manufacturer's serial number (or service tag) is stored in the firmware. One PowerShell line reads it, which is handy for warranty checks or support calls when the sticker is worn off.

Takes effect right away

The easy way

  1. Run the line in PowerShell. Self-built desktops often just show a placeholder such as 'To be filled by O.E.M.'
  2. Old guides use wmic bios get serialnumber, which no longer works because WMIC has been removed.

Command

Run in a normal PowerShell / Terminal window.

Get-CimInstance -ClassName Win32_BIOS | Select-Object -ExpandProperty SerialNumber

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

serial numberservice tagbiospowershellwarranty

More in Hidden Tools & Commands

Download a full macOS installer from Terminal — via SS64

Commandlow risk

softwareupdate can list and download complete macOS installers, including older versions Apple still serves. Useful for making a bootable USB installer or installing on another Mac without hunting through the App Store. This entry only downloads; it doesn't install anything.