Server Reboot : Command or Script
Hi Team
I have a series of exchange server (3 Numbers) and Dc's . All are running in Virtual Environment.Every day i have to shoutdown all the servers. Am finding very difficuly while shutdown the server where i have to logon each and every server and then got to -
start - Shutdown and all..
Im Searching a script or Command to to shutdown the servers in a proper sequence ..like...1. DC 2. CAS server, 3. HT server 4. Mailbox Server.
if i run the script or command from any of the server , It should shutdown all the servers in above sequence.
Please help !!!!
October 11th, 2010 9:29am
Hi,
You can use the shutdown program included in windows server to perform the desired actions.
Create a batch file and schedule this file to shutdown the servers in the desired way.
Leif
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2010 9:33am
Hi Leif,
Thanks for the udapte....i will try..and will let you know
October 11th, 2010 11:31am
The command for shutdown is shutdown.exe.
you can use the batch or a script to run via scheduler,
http://www.online-tech-tips.com/computer-tips/remote-shutdown-command/
I think put some delay of few seconds and the DC should be shutn last.
1) mailbox, hub/cas,dc should be the preferred order.
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2010 12:15pm
I did the shutdown.exe remotely....am getting...Access Denied Error Message.
Am using Administrator Credential for whole enterpises.
Please help
October 14th, 2010 1:27am
Hi,
Your question should be posted in the better place, e.g.
Windows Server forum.
http://social.technet.microsoft.com/Forums/en-US/category/windowsserver
Best regards,
Serena
Free Windows Admin Tool Kit Click here and download it now
October 17th, 2010 9:34pm
HI all
Thanks all, am managing now ,with all the VM like you know, to let the server to sleeping mode instead of shutdown. this make easy mow/
October 26th, 2010 3:11am
Wow, so cool.
Best regards,
Serena
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2010 3:17am