Run program with Servername as an attribute

Run program with Servername as an attribute

Hi I want to run a program in Opmanager to trigger when one process reaches a critical point. I want to pass the server name to the script and this works when running from the commmand line.
 
i.e.
script.bat servername
 
How can I setup an action like this in Opmanager.
 
Thanks
James

                  New to ADSelfService Plus?