Check windows os version command line




















If you need more information, just type in systeminfo :. Would be even better, because it returns only the ReleaseId value, which you could then pipe to a file. Especially useful if you have several hosts to deal with. With system information you can only get the build with that value and go to Google to get the respective version. You may need to adjust the token count. How are we doing? Please help us improve Stack Overflow.

Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Collectives on Stack Overflow. Learn more. Asked 4 years, 10 months ago. Active 1 year, 2 months ago. Viewed 73k times. There are some alternates available to get the Windows version like this PowerShell command: [System. Improve this question. Peter Mortensen Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy. There are a few ways to figure this out.

Something like this:. You can simply type the following in the search bar and press ENTER to see version details for your device. Notice the output displays "EnterpriseS" as seen in the image below:.

In the Semi-Annual Channel, you can set feature updates as soon as Microsoft releases them. Note: the date and time reflect the installation of the version of Microsoft Windows currently on the system.

You can include the name of the operating system, e. By putting "NV" in brackets, findstr will look for any lines that begin with "OS" followed by any character and then the character "N" or "V".

Including characters between brackets in a regular expression means that any character within the brackets will match. In this case that means "OS Version" and "OS Name" both match the regular expression, since the regular expression specifies that a line can begin with "OS" followed by any character and then either "N" or "V". Another method that you can use to determine the operating system version from a command prompt is by using a WMIC command as shown below:.

You can get the version number and the 32 versus bit information by including both parameters on the command line as shown below:.



0コメント

  • 1000 / 1000