I would just set the service options to restart the service if it stops. Use the "Recovery" tab to set what to do on first failure, second failure, and subsequent failures. I set my critical service to restart services for first and second failure and server reboot on the third.
From: Richardson,Tony Sent: Monday, January 26, 2009 6:59 AM To: [email protected] Subject: [info-tech] Powershell script Hello All, Does anyone out there have a Windows Power shell script that checks if a process is running and then restarts it if it is not? I can't seem to find a good example on the web. Thanks, Tony Richardson Technology Coordinator Humboldt Community School District [email protected]
<<image001.jpg>>
