Skip to content

Check a TCP port status and restart the accompanying service if necessary.

Notifications You must be signed in to change notification settings

cbshearer/Check-ServicePort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Check-ServicePort

Use PowerShell to check a TCP port status and restart the accompanying service if necessary.

  • Define the service that we are checking and the IP and port it should be listening on.
  • Define the SMTP server you want to use to notify yourself when the service attempts to restart.
  • Define the number of attempts you want to make.

About

Check a TCP port status and restart the accompanying service if necessary.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published