Check Windows version using command line
C:\Windows\System32>systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"Sys
tem Type"
OS Name: Microsoft Windows 7 Enterprise N
OS Version: 6.1.7601 Service Pack 1 Build 7601
System Type: x64-based PC
C:\Windows\System32>ver
Microsoft Windows [Version 6.1.7601]
| windows Level | Windows name |
| 4.0 | Windows NT 4 |
| 5.0 | Windows 2000 |
| 5.1 | Windows XP |
| 5.2 | Windows 2003 / 2003 R2 / XP x64 |
| 6.0 | Windows 2008 / Vista |
| 6.1 | Windows 2008 R2 / Windows 7 |
| 6.2 | Windows 2012 / Windows 8 |
| 6.3 | Windows 2012R2 / Windows 8.1 |
| 10 | Windows 2016 / Windows 10 |