Link to home
Start Free TrialLog in
Avatar of Luis Diaz
Luis DiazFlag for Colombia

asked on

Batch: reboot servers one by one.

shutdown -r -m \\Server IP

Hello experts,

I have the following command:

shutdown -r -m \\Server IP

I have more than 10 servers and I would like to launch a batch in order to shutdown the server and continue with the second one once the first is already on.

Thank you again for your help.
ASKER CERTIFIED SOLUTION
Avatar of Tahir Qureshi
Tahir Qureshi
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Luis Diaz

ASKER

Thank you very much for your help. I will test it as soon as I can.
Sorry I forget to mention

the above script is in VBS.
Tested and it works. I would create a new question for the loop of the ping server. Thank you very much for your help.