Powershell Tip #55: Determine if using 32-bit or 64-bit version of Windows By powershellgu | October 12, 2015 1 Comment Tip: You can determine if you have a 32-bit or 64-bit version of Windows: PowerShell [System.Environment]::Is64BitOperatingSystem (Get-CimInstance -ClassName win32_operatingsystem).OSArchitecture 123 [System.Environment]::Is64BitOperatingSystem (Get-CimInstance -ClassName win32_operatingsystem).OSArchitecture x64 x86
Pingback: Powershell Tip #56: Convert Decimal Hexadecimal | Powershell Guru