B
Bart Perrier
Guest
We are considering configuring the Recovery Options for a service in the
event of a failure and for the Third Recovery Option, we have discussed
launching a vbScript to send an email.
Although the script to send the email is straight forward, I would like to
make it generic enough to be able to apply it to any service without
modifications. The pertinent information for the script would be
Server Name
Service Name
Is there a value I can poll on the fly that will provide me with the Service
which failed or some way to identify which service failed without hardcoding
it in the script? (Hardcoding it is not an unreasonable option but, if I can
grab it on the fly, then the script will be more flexible).
Thanks.
Bart
event of a failure and for the Third Recovery Option, we have discussed
launching a vbScript to send an email.
Although the script to send the email is straight forward, I would like to
make it generic enough to be able to apply it to any service without
modifications. The pertinent information for the script would be
Server Name
Service Name
Is there a value I can poll on the fly that will provide me with the Service
which failed or some way to identify which service failed without hardcoding
it in the script? (Hardcoding it is not an unreasonable option but, if I can
grab it on the fly, then the script will be more flexible).
Thanks.
Bart