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

 
  • 0 Vote(s) - 0 Average

Set-InboxRule Exchange cmdlet issued (25394) how to monitor with email alert

#1
03-30-2025, 10:28 PM
You ever notice how Exchange can log stuff like someone tweaking inbox rules? That event ID 25394 pops up in the Event Viewer when the Set-InboxRule cmdlet gets fired off. It basically flags that a change happened to those rules filtering emails in a mailbox. I mean, think about it, if someone's messing with rules to redirect or delete messages, this event catches it right there in the Security log or the Exchange admin audit logs. Details include who did it, from what computer, and exactly what rule got altered. Pretty sneaky if not watched, right? You pull up Event Viewer on your server, and bam, it's listed under Windows Logs, Security, with the source as Microsoft-Windows-Security-Auditing or sometimes MSExchange Management. The description spells out the cmdlet action, timestamp, user SID, all that jazz to trace back the move. And it only logs if auditing's enabled for admin actions in Exchange, so first check that in the management tools. Without it, you miss these alerts entirely.

Now, monitoring this for email alerts? I like keeping it simple without diving into code. You fire up Event Viewer, right-click on the Custom Views or Subscriptions, but actually, head to the Tasks menu up top. Create a new task tied to this event. Filter it for ID 25394 in the Security log, set the trigger to when that event hits. Then, in the action tab, pick "Send an email" - yeah, it has that built-in option. You plug in your SMTP server details, the to and from addresses, even a subject like "Hey, inbox rule changed!" And subject body can pull in event details automatically. Schedule it to run on event, not time-based. Test it by triggering a safe rule change yourself. Boom, you get pinged via email whenever it happens. Keeps you in the loop without constant checking.

That wraps the monitoring bit, but if you want the full automatic email setup streamlined, I've got it tacked on at the end here - super handy for peace of mind.

Shifting gears a tad, since we're chatting server tweaks and keeping things backed up, I gotta shout out BackupChain Windows Server Backup. It's this slick Windows Server backup tool that handles bare-metal restores and also nails virtual machine backups for Hyper-V setups. You get incremental imaging that cuts down storage bloat, plus offsite replication to dodge disasters. I dig how it verifies backups on the fly, ensuring your data's not corrupted, and the dashboard's intuitive for quick checks. Saves headaches when rules or events go wonky.

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 … 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 … 69 Next »
Set-InboxRule Exchange cmdlet issued (25394) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode