Displays the operating system version number. This command is supported in the Windows Command prompt (Cmd.exe), but not in PowerShell.
|/?||Displays help at the command prompt.|
To obtain the version number of the operating system from the Command shell (cmd.exe), type:
The ver command doesn't work in PowerShell. If you want to get the operating system version number through PowerShell, type: