Skip to content

ps script to check service stopped or running, i stopped that service send a email to email address

Notifications You must be signed in to change notification settings

manushaamal/Windows_Service_Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows_Service_Checker

ps script to check service stopped or running, i stopped that service send a email to email address

Welcome To Service Monitor v1

1st run setpassword.ps1 and type your password and press enter.

then run serviceMonitor.ps1

Make sure to enable less secure apps to google mails if you using gmail

IN serviceMonitor.ps1

Please change the $serviceName = "ServiceName" to your service need to monitor Please change the $sendemailaddress to Sender's mail address Please change the $destemailaddress to Receiver's mail address Here I am using gmail to smtp host. You can change whatever you want

About

ps script to check service stopped or running, i stopped that service send a email to email address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages