There are a few ways to know if your local PC runs on a 32-bit or 64-bit of Windows. For example, if you are on Windows 10, you can open Settings app, go to System > About to find out.
Or, go to Control Panel > System and Security > System if you are on Windows 7.
Or, if you prefer using a command line, try SystemInfo
Or, if you are a PowerShell guy, it’s even easier.
[System.Environment]::Is64BitOperatingSystem
or
(Get-CimInstance -ClassName Win32_OperatingSystem).OSArchitecture
Now the question is, can we do the same thing to find out whether a remote PC is capable of running a 64-bit of Windows?
The answer is of course. Here are a few ways of doing it.
Press Win+R, type msinfo32.exe and hit Enter to launch System Information window. Then click View > Remote Computer…, type in the remote computer’s name and press OK.
Look for the System Type line that indicates what type of processor this remote computer is running.
You can also use the SystemInfo command line as well.
SystemInfo /s computername | Find "System"
What about PowerShell? Sure thing, as long as you have WinRM for PowerShell Remote enabled through Group Policy.
Try the following cmdlet first,
(Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName ComputerName).OSArchitecture
If not working, try the following instead.
Invoke-Command -ComputerName ComputerName -ScriptBlock {[Environment]::GetEnvironmentVariable("Processor_Architecture")}
If you know something even cooler, feel free to share in the comment below.