Windows version anzeigen windows 10

But zu sein there a way zu get the exact version string using command line output comparable to die one mentioned in the image?

The attached is the output of "winver" command from run. PS: I in looking for a batch or PowerShell command.

Du schaust: Windows version anzeigen windows 10

There space some alternates available zu get the fenster version like this PowerShell command:

::OSVersion

*

*

The following regulates are zu sein going zu help sie with that. If sie need more information, just type in systeminfo:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"wmic os acquire Caption,CSDVersion /value

*

*

The ver command mirrors something choose this:

> verMicrosoft fenstern But in PowerShell (or Git Bash) you have to call it through the cmd command:

> cmd /c ver

*

I found it somewhere, PowerShell:

(Get-ItemProperty "HKLM:SOFTWAREMicrosoftWindows NTCurrentVersion").ReleaseId
Bonifacio "s answer:

REG questions "HKLMSOFTWAREMicrosoftWindows NTCurrentVersion" | findstr ReleaseIdWould be also better, due to the fact that it return only ns ReleaseId value, which sie could climate pipe kommen sie a file. Especially helpful if you have several hosts to deal with.

REG query "HKLMSOFTWAREMicrosoftWindows NTCurrentVersion" | findstr ReleaseId > any_path\%COMPUTERNAME%_OS_Version.txt
With system information you kann only get the build v that value und go to google to get the respective version.

However, one simple way is von searching the registry on the command line:

REG ask "HKLMSOFTWAREMicrosoftWindows NTCurrentVersion" | findstr REG_SZ
The regem query method suggested all output a wenig garbage.

REG ask "HKLMSOFTWAREMicrosoftWindows NTCurrentVersion" | findstr ReleaseIdOutput:ReleaseId REG_SZ 2009Using a weil das loop through tokens wollen output clean information.

for /f "tokens=3" %i in ("REG query "HKLMSOFTWAREMicrosoftWindows NTCurrentVersion" ^| findstr ReleaseId") do echo %iOutput:2009The tokens=3 ad to ns third native from the original output.

Mehr sehen: Wie Sie Den Beate Uhse Katalog Bestellen ), Beate Uhse Katalog

You möchte need zu double die % if running within a bat file.

You kann sein set die output together a variable von replacing echo %i with collection build=%i

Also remember kommen sie escape ^ any type of special characters.

Lastly look punkt HKLMSOFTWAREMicrosoftWindows NTCurrentVersion for the string the has the required value. Freundin may need to adjust the token count.


re-publishing
boost this prize
follow
reply Nov 3 "20 hinweisen 17:42
fritolaysfritolays
1111 bronze- badge
2
include a comment |

her Answer


Thanks zum contributing bei answer to Stack Overflow!

Please it is in sure kommen sie answer ns question. Provide details and share her research!

But avoid

Asking zum help, clarification, or responding to other answers.Making statements based upon opinion; zurück them nach oben with recommendations or angestellter experience.

To learn more, seen our advice on writing good answers.

Mehr sehen: Wie Viele Nudeln Pro Person? Diese Menge Nudeln Pro Person Diese Menge Brauchst Du Je Kopf


Draft saved
Draft discarded

Sign nach oben or log in in


Sign trost using google
Sign nach oben using auf facebook
Sign trost using Email and Password
send

Post as a guest


name
email Required, but never shown


Post together a guest


nennen
email

Required, yet never shown


post Your price Discard

von clicking “Post her Answer”, freundin agree to our terms of service, privacy policy und cookie plan


Not the answer you're spring for? Browse various other questions tagged windows windows-10 windowsversion or asking your own question.


the Overflow Blog
Featured top top Meta
Linked
15
Find out fenstern version indigenous non-privileged user command line
connected
1231
How tun können I develop zum iPhone making use of a fenster development machine?
2862
How tun können you uncover out i m sorry process zu sein listening on a TCP or UDP harbor on Windows?
715
Batch file kommen sie delete files older 보다 N work
549
How tun können you find and replace text in a document using the fenster command-line environment?
827
fenster batch files: .bat vs .cmd?
583
how do i get current date/time top top the fenstern command line an a an ideal format zum usage bei a file/folder name?
303
fenstern shell command kommen sie get ns full route to the current directory?
405
Unix tail indistinguishable command an Windows Powershell
2659
How tun können I download pip on Windows?
hot Network inquiries more hot inquiries

concern feed
subscribe to rys
question feed zu subscribe to this rys feed, copy and paste this URL into your rys reader.


ridge Overflow
assets
agency
Stack austausch Network
site design / logo design © 2021 Stack exchange Inc; user contributions licensed under cc by-sa. Rev2021.12.7.40929


Stack Overflow works ideal with JavaScript permitted
*

her privacy

von clicking “Accept all cookies”, sie agree ridge Exchange tun können store kekse on your device und disclose information in accordance with our Cookie Policy.