Hello,
I have a web farm and we have a script hosted on each server (same folder location, same script name). In our old monitoring software, the script would run when the server needed to be rebooted. Within the alerts parameters, you can set where the script is run from. Rather than say \\iisserver\d$\script.vbs, is there a way to input a variable so that it runs from the server that needs attention?
Something like:
\\%server%\d$\script.vbs
So when IISserver01 needs to be rebooted, the script will know to use \\iisserver01\d$\script.vbs
I am running the latest version.
Thanks,
Byron