From LedHed's Wiki
Revision as of 17:47, 12 August 2012 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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