PowerTip: Determine Windows Architecture with PowerShell

Doctor Scripto

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

 

0 comments

Discussion is closed.

Feedback usabilla icon