[login to view URL] for windows 2012 server for an application services
2.I want the service to
a if the service in the service manager is stopped status it should start immediately
b If its in running status stop it and then restart after 30 seconds
3 .Issue - When we are trying to stop the service it goes into hung state - StopPending State and when trying to kill the script from script it is not doing.
[login to view URL] also want the logs for all actions.
6 freelancers are bidding on average ₹1163 for this job
Hey there, I had developed tons of PowerShell scripts. I have the required skills and experience. I can develop your required script to restart the service if it is stopped. Regards!