Knowledge Base Article

EV Event Notification

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

3454.jpg

 

7058.jpg

Set the appropriate email details in the script.

$MailFrom="Sender"
$MailTo="Recipient"
$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. 

Published 9 years ago
Version 1.0
No CommentsBe the first to comment