gd6627
asked on
Ability to monitor a process
I have a need for a powershell script that monitors a process for example if I wanted to moinitor the sprint spooler service on a server I like to run a PS script as a task on the server that will check when the spooler stops working , then send me an email that it stopped , then try to restart the service if it failed to restart the service to let me know via email or if it succeeded to restart to let me know it successfully did so. if those options fail I would like the script to restart the server after 10 min. and let me know that the server was restarted. IS that possible?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok I see what you mean thank you
If that solved your problem, please select it as an answer in order to close this question.
Solved and then abandoned.
ASKER
thanks for you r help
ASKER