> ## Content Index
> Fetch the complete content index at: https://www.filipkonopik.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# PowerShell: Get Computer Serial Number
- URL: https://www.filipkonopik.com/powershell-get-computer-serial-number/
- Published: 2026-07-17T10:20:00.000Z
- Updated: 2026-08-06T05:21:42.000Z
- Author: Filip Konopík
- Tags: BIOS & UEFI

Asset tracking, warranty lookups, or opening a support ticket with your hardware vendor - the serial number is often the first thing you'll need. This one-liner pulls it straight from the BIOS in a single command.

Prerequisites:

- Privileges: None
- Module: Built-in, no import needed

Quick Command:

```Powershell
Get-CimInstance -ClassName Win32_BIOS | Select-Object SerialNumber
```

Example Output:

```Powershell
SerialNumber
------------
ABCD123
```

📦

****Want all of them at once?**  
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.

[Get the Complete Bundle for $39](https://gum.co/u/oczvkqdc?ref=filipkonopik.com)

How It Works:

- Get-CimInstance queries the Win32\_BIOS WMI class, which stores information about the BIOS installed on the system, including the serial number burned in by the manufacturer.
- SerialNumber returns the unique identifier assigned to the device - the same number you'd find on a physical asset tag or use when contacting vendor support.
- Select-Object trims the output down to just this one property, since Get-CimInstance -ClassName Win32\_BIOS also returns a lot more data (like Manufacturer, Version, or ReleaseDate) that isn't needed for a quick serial number lookup.