ver
Displays the operating system version number. This command is supported in the Windows Command prompt (Cmd.exe), but not in any version of PowerShell.
Syntax
ver
Parameters
Parameter | Description |
---|---|
/? | Displays help at the command prompt. |
Examples
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
Related links
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για