Analyze-Windows

How to find the windows version on the command-prompt (cmd)

ver

For a more detailed output you can use:

systeminfo