Set the action to "run a program". Set the program to "PowerShell -ExecutionPolicy Unrestricted -WindowStyle Hidden -File "fullpath\script.ps1". Set the starting directory. Add any parameters the script might need. In the script, use the "Send-MailMessage" cmdlet to send the e-mail.
We are trying to achive email alerts all windows task scheduler jobs, The email action feature is disable in 2016 server we need help out to monitor jobs status
We are trying to achive email alerts all windows task scheduler jobs? The eamil action feature is disable in 2016 server we need help out to monitor jobs status ![79640-taskscheduler.png][1] [1]: /api/attachments/79640-taskscheduler.png?platform=QnA
2 answers
Sort by: Most helpful
-
-
Karlie Weng 13,241 Reputation points Microsoft Vendor
2021-03-22T08:01:41.863+00:00 Hello @Mahesh Parmar
Hope the below blog would help:
STEP-BY-STEP: HOW TO TRIGGER AN EMAIL ALERT WHEN A SPECIFIC WINDOWS SERVICE STARTS OR STOPS ON WINDOWS SERVER 2016Best Regards
Karlie----------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.