A desire of the Engineering team that I am a member of is to create a single script that can be re-used for the same purpose, but on different managed nodes. This script is a simple "service restart" script with basic parameters set to identify the computer name and service name. An example of this is to call said script to restart a service. The service/computer names would vary per alert that is triggered, which would require different values to be set as parameters within the script itself.
The "execute and external script" alert trigger action only allows the user to provide the path to the script document. A question that I have is..does SAM have the ability to provide necessary parameter details (computer/service name) to be used by a pre-existing batch file?