Find windows version from commandline (cmd)

use systeminfo . Running might take 10 seconds.