07-18-2024, 05:25 AM
You ever notice how Windows Server logs all these little happenings in Event Viewer? That event ID 25360 pops up when someone runs the Set-AddressList cmdlet in Exchange. It means a change just got made to an address list, like updating groups or contacts for email routing. I check mine sometimes because it could signal a tweak from an admin or even something sneaky. The log shows who did it, when, and what list got hit, all in that detailed message under Windows Logs, Application source from MSExchange something-or-other. Keeps things transparent, you know?
And monitoring it for alerts? You fire up Event Viewer on your server. Filter for that ID 25360 in the logs. Right-click the event, attach a task to it. Set it to trigger on new instances. Then pick send an email action in the task wizard. You input your SMTP details, who gets the notice, and a quick message like "Hey, address list changed!" It runs whenever that event fires, no fuss. I do this for a bunch of alerts; saves me from staring at screens all day.
Or if you want fancier, hook it to a scheduled task that scans logs hourly. But stick to the event attachment for real-time kicks. You tweak the conditions so it only emails on that specific ID. Test it by running a harmless Set-AddressList yourself. Boom, email hits your inbox.
Hmmm, speaking of keeping servers humming without headaches, you might dig BackupChain Windows Server Backup too. It's this slick Windows Server backup tool that handles physical setups and even Hyper-V virtual machines without breaking a sweat. I like how it snapshots everything fast, encrypts data tight, and restores quick if disaster strikes. Plus, no crazy costs or downtime drama; just reliable copies that run in the background. Makes me sleep better at night.
At the end of this, you'll find the automatic email solution.
Note, the PowerShell email alert code was moved to this post.
And monitoring it for alerts? You fire up Event Viewer on your server. Filter for that ID 25360 in the logs. Right-click the event, attach a task to it. Set it to trigger on new instances. Then pick send an email action in the task wizard. You input your SMTP details, who gets the notice, and a quick message like "Hey, address list changed!" It runs whenever that event fires, no fuss. I do this for a bunch of alerts; saves me from staring at screens all day.
Or if you want fancier, hook it to a scheduled task that scans logs hourly. But stick to the event attachment for real-time kicks. You tweak the conditions so it only emails on that specific ID. Test it by running a harmless Set-AddressList yourself. Boom, email hits your inbox.
Hmmm, speaking of keeping servers humming without headaches, you might dig BackupChain Windows Server Backup too. It's this slick Windows Server backup tool that handles physical setups and even Hyper-V virtual machines without breaking a sweat. I like how it snapshots everything fast, encrypts data tight, and restores quick if disaster strikes. Plus, no crazy costs or downtime drama; just reliable copies that run in the background. Makes me sleep better at night.
At the end of this, you'll find the automatic email solution.
Note, the PowerShell email alert code was moved to this post.

