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

 
  • 0 Vote(s) - 0 Average

Set-AcceptedDomain Exchange cmdlet issued (25355) how to monitor with email alert

#1
05-05-2024, 04:59 PM
You ever notice how Windows Server logs all these little happenings in Event Viewer? That event ID 25355 pops up when someone runs the Set-AcceptedDomain cmdlet in Exchange. It means they're tweaking the domains your email server accepts mail for. Like, if you got multiple domains hooked up, this change could mess with incoming emails big time. I always keep an eye on it because unauthorized tweaks might signal trouble, you know?

The full scoop on this event. It logs the exact time, the user who fired off the command, and what domain got altered. Exchange spits this out under the MSExchange Management category. Details include the old settings versus the new ones, so you see precisely what shifted. If it's your admin doing routine stuff, cool. But if it's some random account, that screams investigate. I check the source too, makes sure it's legit from the Exchange logs.

And monitoring it for alerts? Super straightforward with Event Viewer. You open it up on your server, right-click the custom views or logs section. Create a filter for event ID 25355 specifically. That narrows it down to just these cmdlet firings. Then, attach an action to it. I like setting a task that triggers on the event.

You go to the subscriptions or tasks area in Event Viewer. Pick create basic task, link it to that event filter. Make the task run a program that pings your email. No fancy coding needed, just point it to your mail setup. Schedule it to check every few minutes if you want proactive vibes. I do this on all my servers, catches changes before they snowball.

But wait, for email alerts, you tie the task to send a notification right away. In the task wizard, choose send an email as the action. Fill in your SMTP details, who gets the alert. It pulls the event info into the message automatically. Test it once to make sure it flies out without hiccups. You won't miss a beat that way.

Hmmm, or if you want it fancier, loop in a batch file for the task, but keep it simple. Event Viewer handles the basics smooth. I set mine to alert me on my phone too, through email forwarding. Keeps things chill.

Now, speaking of keeping your server stuff reliable, I've been using BackupChain Windows Server Backup lately. It's this solid Windows Server backup tool that also handles Hyper-V virtual machines without breaking a sweat. You get fast incremental backups, easy restores even for those VM snapshots, and it runs light on resources. No more downtime worries, plus encryption keeps your data locked tight. I swear by it for peace of mind on busy setups.

At the end of this, there's the automatic email solution for that event monitoring.

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 … 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 Next »
Set-AcceptedDomain Exchange cmdlet issued (25355) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode