Castle Posted August 19, 2019 Share Posted August 19, 2019 Is there a script to stop and restart a service? I see a script where you can stop a service but I need a script to stop and then restart a service. Thank you Link to comment Share on other sites More sharing options...
Administrators Paul Posted August 19, 2019 Administrators Share Posted August 19, 2019 If the service is not the Pulseway service itself then you can use: Restart-Service "ServiceName" -Paul Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now