Windows/winver: Difference between revisions
< Windows
(Created page with "Get Windows Version (GUI) winver Get Windows Version (Console) ver # example: Microsoft Windows [Version 10.0.19045.5608]") |
No edit summary |
||
Line 1: | Line 1: | ||
Get Windows Version (Console) | |||
ver | |||
# example: Microsoft Windows [Version 10.0.19045.5608] | |||
Get Windows Version (GUI) | Get Windows Version (GUI) | ||
winver | winver | ||
https://i.imgur.com/IDotWrj.png | |||
Powershell: | |||
[System.Environment]::OSVersion | |||
<pre>PS C:\> [System.Environment]::OSVersion | |||
Platform ServicePack Version VersionString | |||
-------- ----------- ------- ------------- | |||
Win32NT 10.0.19045.0 Microsoft Windows NT 10.0.19045.0 | |||
</pre> | |||
https://i.imgur.com/7iOKWT6.png |
Latest revision as of 22:00, 18 March 2025
Get Windows Version (Console)
ver # example: Microsoft Windows [Version 10.0.19045.5608]
Get Windows Version (GUI)
winver
Powershell:
[System.Environment]::OSVersion
PS C:\> [System.Environment]::OSVersion Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.19045.0 Microsoft Windows NT 10.0.19045.0