🚦 This is a simple PowerShell script that allows you to watch and control windows services.
- Download the last released version from the releases tab.
- Open the
services.txt
file and change the content with the services names you want to track. - Open your PowerShell terminal as an administrator, navigate to the script directory and type:
.\main.ps1 services.txt 'stop' 3
.\main.ps1 [ServicesFilePath] [Action] [Interval=1]
Parameter | Description |
---|---|
ServicesFilePath | Indicates the path of the file with your services list |
Action | The action you want to operate on the services, it can be one of the following [start, stop, restart] |
Interval | The interval time in seconds between each loop, default is 1 second. |
This script is published under the open source MIT license, please read the license file included with the project for more information.