We are working on creating a WIKI for the AEA.  That would probably be the best 
place to put that type of info.


From: Richardson,Tony 
Sent: Monday, January 26, 2009 11:06 AM
To: [email protected] 
Subject: RE: [info-tech] Powershell script


That's what I'm looking for - Thanks Jason

Hey maybe one of us should setup a repository for scripting related to school 
districts. We could all contribute to it to help each other out.

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Jason Kehoe
Sent: Monday, January 26, 2009 10:45 AM
To: [email protected]
Subject: RE: [info-tech] Powershell script

 

Tony,

I found someone showing how to check service status with Powershell

 

http://digitalformula.net/scripts/powershell-checking-windows-services-status/

 

I also found someone who shows how to restart services with Powershell. 

 

http://chrisfederico.wordpress.com/2008/01/23/using-powershell-to-restart-services/

 

Maybe take a look at the two and combine them to get the results/script you are 
looking for.

 

Good luck!

 

--Jason Kehoe

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Richardson,Tony
Sent: Monday, January 26, 2009 9:05 AM
To: [email protected]
Subject: RE: [info-tech] Powershell script

 

Yes that works but I was thinking more along the lines of doing this checking 
in mass and developing the script to further check for the existence of the 
application then installing and starting it if its not there. Yes I know AD can 
push stuff out too but this particular app doesn't allow for that.

 

From: [email protected] [mailto:[email protected]] On 
Behalf Of Scott Fosseen
Sent: Monday, January 26, 2009 8:36 AM
To: [email protected]
Subject: Re: [info-tech] Powershell script

 

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>>

Reply via email to