Checking Windows Service Status with Powershell
Posted in Windows Powershell, Windows Server | No Comment | 2,734 views | 17/08/2009 10:59
Today, I created a Powershell script to check a service status and if it is stopped, that starts it.
Then add this to Cronjob and set it to run every 5 minutes. MEMTAS is a service name of Mail Enable.
Tags: check service status with Powershell, powershell service get-service, powershell start service
Leave a Reply