View Single Post
  #7 (permalink)  
Old 7th October 2006, 12:38 AM
kasimani's Avatar
kasimani kasimani is offline
Senior Member
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 169
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 5
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default Great Idea for easy task

just create a batch file and put the following command

Shutdown -r -f -t 0 (This is for local computer)

for network computer

Shutdown -r -f -t 0 -m \\<ipaddress>

-r = restart
-s = shutdown
-f = forcily
-t = time in seconds
-m = remote computer
Reply With Quote