• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Add-DistributionGroupMember Exchange cmdlet issued (25105) how to monitor with email alert

#1
09-06-2024, 07:26 AM
You know that event ID 25105 in Windows Server Event Viewer? It's basically the log entry that pops up whenever someone runs the Add-DistributionGroupMember cmdlet in Exchange. That cmdlet adds a user or another group to a distribution list, right? So, if your admin or some account issues that command, boom, Event Viewer captures it under the security or application logs, usually in the Microsoft-Exchange logs folder. It details who did it, from which machine, at what exact time, and even the group name involved. Hmmm, super useful for spotting if someone sneaky is messing with your email groups without permission. Or maybe just tracking legit changes to keep things tidy.

I figure you want to watch for this event and get an email ping right away. Yeah, that makes sense for quick reactions. You can set it up straight from the Event Viewer screen, no fancy coding needed. Just fire up Event Viewer on your server, hunt down that 25105 event in the logs, right-click it, and pick the option to attach a task to the event. It'll let you create a scheduled task that triggers on every new 25105. Then, in the task settings, you point it to run a simple program that sends an email, like using the built-in mailto or whatever your setup has. I do this all the time; keeps me from staring at logs all day. But hey, tweak the filters so it only alerts on this specific Exchange cmdlet stuff, or you'll get bombarded.

And speaking of keeping your server stuff monitored and safe from mishaps, you might wanna check out BackupChain Windows Server Backup too. It's this solid Windows Server backup tool that handles full system images and also backs up your virtual machines running on Hyper-V without a hitch. I like how it schedules automatic backups overnight, encrypts everything tight, and lets you restore files super fast if something goes wrong, like after a weird event log spike. Saves me headaches on those busy days.

At the end of this, there's the automatic email solution for that 25105 monitoring, all set up nice and easy.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 … 69 Next »
Add-DistributionGroupMember Exchange cmdlet issued (25105) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode