News

Thursday, May 24, 2012

Remote restart using AutoIT and Psshutdown

RemoteRestart.aut :

inputbox, name, Computername, Please enter the name of the computer you want to restart.
run, psshutdown \\\\%name% -u domain\\username -p password -f -r -t 0

No comments:

 
Free Hit Counter