Showing results for 
Search instead for 
Did you mean: 


A few lines PowerShell I wrote to send the detail of Event Log events.

I use it to notify me when Archiving tasks end (events 3454 and 3446) and when my backup mode script triggers (events 7058, 7079, 7060 and 7081).




Set the appropriate email details in the script.

$SMTPServer="SMTP Server"

Run manually with the event ID, "powershell -f EventID.ps1 3454" or I use the "attach task to event" from Event Viewer and set the above as the program

Event Viewer Tasks.JPG

Not Enterprise level notifications but it gives me an early heads up of any potential issues.