I am having trouble creating a simple bat file that will execute when an Adv Alert is triggered. the bat file that I want to run is restarting IIS.
All it has is this:
echo off
iisreset
this is what I have done:
this batch file is located in the remote server where I want to run this batch file. On the SW server, I go to System Manager and edit the alert that I want to configure. I then go to the "Trigger Actions" tab and click on "Add New Action". I select "Execute an external VB Script". In the "VB Script" tab I browse to where my batch file is located. In my case it is located on the remote server. when the alert is triggered, nothing happens. What am I doing wrong? If I run this batch file from the remote server, it works fine. Please help!!