Skip to content

AmraniCh/windows-services-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Services Watcher Script

🚦 This is a simple PowerShell script that allows you to watch and control windows services.

🚀 Usage

  • 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

⚙️ Script Parameters

.\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.

©️ License

This script is published under the open source MIT license, please read the license file included with the project for more information.

About

🚦 Simple PowerShell script to watch and control windows services

Topics

Resources

License

Stars

Watchers

Forks