This Powershell script will Check on all Windows servers that a service which was meant to start has failed. Excludes services which are not meant to start.

One of the keys in a disaster recovery plan is the ability to quickly identify issues which may impact business continuity. Part of the DBA responsibility is to identify issues , fixing them and working with other engineering support staff.

The purpose of this script is to quickly scan all the servers in the list – and find services which are not 1077 or 0. In other words, the services have attempted to start but failed since the last restart.

Service Exit Code 1077 and false negatives cause extra workload in identifying the "real" issues. Using a method which quickly scan the servers and only reports on the necessary information - assists in leading to a quicker recovery.

Being prepared for a disaster recovery is essential in how to recover. What scripts do you have in place? Where are the scripts maintained? Access to passwords vaults ? etc. Thinking through what are the practical considerations for a DR .

Thanks for sharing this Powershell Script that will check on all Windows servers that services which have attempted to start but failed since the last restart. There are so many benefits in using Powershell Script that I think it will be helpful for many readers here.