Skip to content

Instantly share code, notes, and snippets.

@futska
Created December 30, 2019 16:50
Show Gist options
  • Save futska/99af977b40cedb6f58aea749fdbf74fb to your computer and use it in GitHub Desktop.
Save futska/99af977b40cedb6f58aea749fdbf74fb to your computer and use it in GitHub Desktop.
start winver
Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ReleaseId
ver
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
systeminfo | findstr /C:"OS"
wmic os get Caption,CSDVersion /value
wmic os get buildnumber,caption,CSDVersion /format:csv
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment