> ## 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 Windows Edition
- URL: https://www.filipkonopik.com/powershell-get-windows-edition/
- Published: 2026-07-27T13:26:32.000Z
- Updated: 2026-08-06T05:49:18.000Z
- Author: Filip Konopík
- Tags: System Info

Need to check which edition of Windows is installed - Home, Pro, Enterprise - for licensing checks or feature compatibility confirmation? 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_OperatingSystem | Select-Object Caption
```

Example Output:

```powershell
Caption
-------
Microsoft Windows 11 Pro
```

📦

****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\_OperatingSystem queries the operating system class, same one used for build number, install date, and architecture in earlier articles.
- Caption returns the full, human-readable OS name including its edition - unlike Version (which only gives a numeric version string), Caption directly states whether it's Home, Pro, Enterprise, or Education.