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

Mahesh Parmar 1 Reputation point
2021-03-19T18:13:33.003+00:00

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

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,348 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,932 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,322 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 44,416 Reputation points
    2021-03-19T18:42:46.763+00:00

    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.

    0 comments No comments

  2. 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 2016

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

    0 comments No comments