Skip to content

Commit 467d4f9

Browse files
authoredJun 10, 2020
Update README.md
1 parent 1e5947e commit 467d4f9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
# Service-Checker
1+
# Service-Checker
2+
3+
This script will check the listed services in the array below and attempt to start them if they are stopped. If the service is disabled, it won't be able to start it. This script should be ran as often as needed to verify the services are running as expected.
4+
Replace Service1 and Service2 with the services needed. You can add more to the array as needed.
5+
Depending on your setup, you many need to set "Set-ExecutionPolicy" on the machine to allow unsigned scripts to run.
6+
Another option would be to run this script with the following command "Powershell.exe -executionpolicy bypass -Command service_checker.ps1"

0 commit comments

Comments
 (0)
Please sign in to comment.