Find out the OS Architecture of Windows Quickly
Sometimes you need to find out if you are running a 32bit or a 63bit Windows operating system. You can do this quickly from the command line using WMI:
wmic os get osarchitecture
Another option is using the following environmental variable:
Short and sweet.