Get windows build version from shell

Press Windows key + R

Type: cmd and press enter

Now on the shell type:

Reg Query "HKLMSOFTWAREMicrosoftWindows NTCurrentVersion" /v ReleaseId