Failing service - Recovery options

alhowarthWF 301 Reputation points
2022-10-19T20:07:16.723+00:00

Can someone tell me what is available in the Recovery options for "Subsequent failures"? The link provided in the window does not work.

252136-service.png

Upon a 3rd failure, I would like to call a PowerShell script, to notify recipients of the failure. I don't want to have one script per service, so I am hoping some parameters, such as the service name, could be passed in the command line parameters. Is this possible?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-10-21T08:54:52.603+00:00

    Hi @alhowarthWF ,

    Unfortunately, I don't find a way to pass the service name to the script, however, you can just check the status of the services you care about in your script.

    Best Regards,
    Ian Xue

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.