PowerTip: Determine Windows Architecture with PowerShell


Summary: Use Windows PowerShell to identify whether you are running a 32-bit or 64-bit version of Windows.

Hey, Scripting Guy! Question How can I use Window PowerShell to see if my version of Windows is 32-bit or 64-bit?

Hey, Scripting Guy! Answer Use Get-CimInstance and query the OSArchitecture property:

(Get-CimInstance Win32_operatingsystem).OSArchitecture

 

Comments (0)

Skip to main content