@scottalanmiller said in Get Windows Version from Command Line:
Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ReleaseId
I lke the results of this better:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
C:\Windows\system32>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows Server 2016 Standard
OS Version: 10.0.14393 N/A Build 14393
but your version does provide the update version! ie; 1607