News

Thursday, July 19, 2012

Retrieve the uptime for multiple computers

Download uptime.exe from Microsoft:

Place psexec.exe, COMPUTERS.txt, and uptime.exe in the same folder.

psexec @COMPUTERS.TXT -u domain\username -p password  -c -e -f uptime.exe >> C:\uptime.txt

Will output the uptime for each machine to C:\uptime.txt on your local machine.

No comments:

 
Free Hit Counter