mksgct
asked on
Script required for reboot the servers
I need to reboot many servers at a time. I'm having the list of servers. Can anyone give the script to reboot the servers using the list of remote servers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use psshutdown. www.sysinternals.com
Type the command for a complete list of parameters. You can also set the shutdown reason code.
I think the command should look like this as a minimum.
psshutdown -f -r -t 0 @RemoteServers.txt
Type the command for a complete list of parameters. You can also set the shutdown reason code.
I think the command should look like this as a minimum.
psshutdown -f -r -t 0 @RemoteServers.txt
ASKER
Thanks a lot. VB script helped me ..
shutdown -f -r -m \\servername1
shutdown -f -r -m \\servername2
shutdown -f -r -m \\servername3
ect...