> ## 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: Check if Windows Is 32-bit or 64-bit
- URL: https://www.filipkonopik.com/powershell-check-if-windows-is-32-bit-or-64-bit/
- Published: 2026-07-18T08:48:44.000Z
- Updated: 2026-08-06T05:22:08.000Z
- Author: Filip Konopík
- Tags: System Info

Need to know if a machine is running 32-bit or 64-bit Windows - for software compatibility, driver checks, or scripting logic? This one-liner pulls it straight from the OS.

Prerequisites:

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

Quick Command:

```Powershell
Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object OSArchitecture
```

Example Output:

```Powershell
OSArchitecture
--------------
ARM 64-bit Processor
```

📦

****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 through CIM/WMI, which holds core system details like version, build number, and architecture.
- OSArchitecture returns the architecture of the installed Windows - on traditional x86/x64 machines this is typically a plain 32-bit or 64-bit, but on ARM-based hardware it can return something like ARM 64-bit Processor instead.
- Select-Object trims the output down to just this one property, since Win32\_OperatingSystem also returns a lot more data (like Caption, Version, or BuildNumber) that isn't needed for a quick architecture check.