-
-
Save heathseals/cbc35dbbfb3f52699acd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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