At times one or more of these commands may be useful:
wmic os get caption
wmic path cim_datafile where name='c:\windows\explorer.exe' Get Version | find "10"
wmic os get buildnumber
systeminfo | findstr /b /C:"OS name"
systeminfo | findstr /b /C:"OS version"
slmgr.vbs /dli
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
current build
current build number
displayversion
editionid
productname
.
.
.
.
.
Please remember to vote and to mark the replies as answers if they help.
On the bottom of each post there is:
Propose as answer = answered the question
On the left side of each post there is /\ with a number: click = a helpful post
.
.
.
.
.