Skip to content

Instantly share code, notes, and snippets.

@heathseals heathseals/srm-callout Secret
Created May 20, 2010

Embed
What would you like to do?
Adding scripts to a Recovery Plan in a call out
When you add a script to a call out in a recovery plan, it is an empty dialog. Use the information
below to add a script that will work as expected. It is important to understand that the scripts or
commands must be in the path on the SRM server.
* Use full paths to all executables – for example “c:\windows\system32\cmd.exe” instead
of “cmd.exe”.
* You can use .exe or .com files only! Command line scripts can only call executables.
* To run a batch file you should start the shell command with
“c:\windows\system32\cmd.exe”. So it would look like “c:\windows\system32\cmd.exe
/c c:\scripts\alarmscript.bat”.
These scripts are executed under the Local Security authority of the SRM server. In addition they
can be stored where you like but likely best to have them on the local SRM disk and not on a
remote network share.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.