From LedHed's Wiki
Jump to: navigation, search
(Created page with 'Get OS version and Service Pack level of local machine: systeminfo | findstr /B /C:"OS Name" /C:"OS Version" Get OS Version and Service Pack level of remote machine: systemin...')
 
 
Line 12: Line 12:
  
 
== Reference ==
 
== Reference ==
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
+
http://www.windows-commandline.com/2009/01/find-windows-os-version-from-command.html
  
  
 
[[Category:Remote_Admin_Tricks]]
 
[[Category:Remote_Admin_Tricks]]

Latest revision as of 17:48, 12 August 2012

Get OS version and Service Pack level of local machine:

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


Get OS Version and Service Pack level of remote machine:

systeminfo /s \\<REMOTE-HOSTNAME> | findstr /B /C:"OS Name" /C:"OS Version" 

Where <REMOTE-HOSTNAME> is the name of the remote computer.



Reference

http://www.windows-commandline.com/2009/01/find-windows-os-version-from-command.html