Hi,
You can check the Last Run Results of scheduled tasks using Get-ScheduledTaskInfo and send mail messages using Send-MailMessage
https://learn.microsoft.com/en-us/powershell/module/scheduledtasks/get-scheduledtaskinfo
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage
The Get-WinEvent can filter events from the application logs. This link is helpful for parsing the events.
https://devblogs.microsoft.com/scripting/use-powershell-cmdlet-to-filter-event-log-for-easy-parsing/
Best Regards,
Ian Xue
============================================
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.