Getting a systems uptime…
Really simple and quick question, how do you get a windows systems uptime…
Windows XP, Server 2003 & later:
systeminfo | find “System Up Time:”
Pre xp:
psinfo.exe | find “Uptime:”
psinfo can also be used on remote machines, e.g. psinfo \\servername | find “Uptime:”
A
Categories: Batch Scripting, Scripting, Windows Server
psinfo, system
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Recent Comments