Server Management - Systems Insight Manager
1826724 Members
3114 Online
109702 Solutions
New Discussion

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 2
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...