How-To: Find which version of Windows you are using via command line

May 14 2012

To find out which version and service pack you are running (and other useful info):

C:\>systeminfo |more
Host Name: WS-NAME
OS Name: Microsoft Windows 7 Ultimate
etc.

To find out what architecture you are on:

C:\>wmic os get osarchitecture
OSArchitecture
64-bit
C:\>