Events
29 Apr, 14 - 30 Apr, 19
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Displays the operating system version number. This command is supported in the Windows Command prompt (Cmd.exe), but not in any version of PowerShell.
ver
Parameter | Description |
---|---|
/? | Displays help at the command prompt. |
To obtain the version number of the operating system from the Command shell (cmd.exe), type:
ver
If you want to get the operating system version number through Windows PowerShell, type:
$PSVersionTable.BuildVersion
If you want to get the operating system version number through PowerShell 7.x.x, type:
$PSVersionTable.OS
Events
29 Apr, 14 - 30 Apr, 19
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up now