Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Remote server Reboot

Mike Angley
Advisor

Remote server Reboot

I am trying to create a command tool to react to an event from SIM that will reboot a remote server. I have the tool calling a batch file on the CMS, however %target% does not seem to work either in the batch file or in the command line. all the tool does is reboot the CMS and not the server i am trying to reboot remotely.I need to pass the server name somehow. Am i using the wrong varible or is there a better way to go about it?
2 REPLIES
David Claypool
Honored Contributor

Re: Remote server Reboot

Your command line should be

shutdown -r -m \\%DEVICENAME%
David Claypool
Honored Contributor

Re: Remote server Reboot

Bumped to be above moved questions...