Wondering if someone could possibly assist.
We have in place the Errors in Application Event Log, which is assigned to 9 servers.
This polls every 2 minutes and looks for a custom event id of 100. If EventID 100 is found then an active alert is sent out via email, stating that it has occurred.
This eventid relates to a process in our business that is causing major issues within IIS, we have narrowed down a quick fix which is a recycle of a certain Application Pool within IIS.
But I am now wondering is there a way of getting a powershell script to run once the active alert is triggered that will then go off and recycle the faulting app pool?
We already have a powershell script to use but wonder how we could attach this to an active alert.
Thanks
Neil