> ## 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 Asset Tag
- URL: https://www.filipkonopik.com/powershell-get-asset-tag/
- Published: 2026-07-26T10:25:05.000Z
- Updated: 2026-08-06T05:37:14.000Z
- Author: Filip Konopík
- Tags: BIOS & UEFI

Need to check a machine's asset tag - for IT inventory tracking or confirming a device is registered in your asset management system? This one-liner pulls it straight from the system.

Prerequisites:

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

Quick Command:

```powershell
Get-CimInstance -ClassName Win32_SystemEnclosure | Select-Object SMBIOSAssetTag
```

Example Output:

```powershell
SMBIOSAssetTag
--------------
IT-ASSET-00123
```

📦

****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 -ClassName Win32\_SystemEnclosure queries the system enclosure (chassis) class, which holds physical case-level details.
- SMBIOSAssetTag returns the asset tag string stored in firmware - unlike a serial number (assigned by the manufacturer), this is typically set manually by an organization's IT department when a device is added to inventory.

Pro Tip:

This is often empty on consumer machines and virtual machines, since asset tags are usually only configured in enterprise environments as part of IT asset management - an empty result here doesn't indicate a problem with the query.