windows 10,

Get Windows 10 version number from the CLI

May 12, 2022 · 1 min read · Post a comment
Get Windows 10 version number from the CLI

Today’s topic gonna be all about the multiple way to get the version number for Windows 10. Even though there’s a dozen ways to do it, I’m gonna stick to the most basic ones without any command line kung fu shenanigans. With that being said, copy one of the commands below and call it a day.

Prerequisites

  • Windows 10

Solution(s)

Solution no.1

Open Command Prompt and run the following command:

ver

Example output:

Microsoft Windows [Version 10.0.19044.1682]

Solution no.2

Open CMD or PowerShell it really doesn’t matter and run:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Example output:

OS Name:            Microsoft Windows 10 Pro
OS Version:         10.0.19044 N/A Build 19044

Solution no.3

Using WMIC execute the following one:

wmic os get version

Example output:

Version
10.0.19044

Solution no.4

PowerShell specific:

Get-ComputerInfo -Property "OSVersion"

Example output:

OsVersion
---------
10.0.19044

Solution no.5

Last but not least, if you prefer GUI whatsoever.

winver

Conclusion

If you can think of any alternative, feel free to leave a comment below.
On another note, follow our official channel on Telegram.