Windows has command line utilities that show us the version of the Windows OS we are using including the service pack number. If you just want to find the OS name, you can use the ver command.
Just open a command prompt and type ver and press enter.
As you can see above, ver command just tells you the OS name or version number but not the service pack number you are using. We can find service pack number as well as the OS name using Systeminfo command. But Systeminfo dumps lot of other information also. So we need to use findstr command to filter out unwanted information.
If you want to print more details, then you can use just ‘OS’ in the findstr search pattern. See example below.
The below wmi command gives the OS and the service pack version.
wmic os get Caption,CSDVersion /value
Last you can use the 'winver' command at the command prompt to get the OS and Service Pack GUI Window.
Thanks for visiting mswintips.com.
Return to Index Page
Copyright ©2019 CSN All Rights Reserved