Introduction
Remote_ServicesMonitor is a script for checking remote machines for service status and sending results thru email. The script will check services that are marked automatic and that are not in the running state. If a service on a remote machine is not in the running state a email notification will be sent. Automatic services that are stopped after initial start are exceptioned. Change the services filter according to your environment on line 71. Adapt the script variables according to your environment.
Usage
The script requires modifying the email variables with your requirements.
Tested with Windows XP, Windows 2003, Windows 7, Windows 2008 and Windows 2008R2.
NOTE 1:The account used to execute the Script must have elevated privileges.
NOTE 2:PowerShell execution policy should be set to RemoteSigned.