08-12-2024, 05:45 AM
You ever notice how Windows Server logs all these little happenings in Event Viewer? That event ID 25681 pops up when someone runs the Remove-PublicFolderMoveRequest cmdlet in Exchange. It basically signals that a public folder move request just got zapped away. I mean, think about it, public folders are those shared spots where teams dump emails and files. And when you issue that cmdlet, it's like telling the server, hey, stop that migration right now. The event logs the user who did it, the exact time, and which folder was involved. It even notes if it succeeded or hit a snag. Hmmm, sometimes it shows the source and target databases too. You can spot this under the MSExchange Management log in Event Viewer. But why care? Well, if you're admin-ing Exchange, this could mean someone halted a big move, maybe to fix an issue or just bail on a plan. I check these logs weekly, keeps things from snowballing into downtime. Or, you know, it might flag unauthorized fiddling.
Now, to keep an eye on this without staring at screens all day, fire up Event Viewer on your server. Right-click the custom views or logs section, and create a filter for event ID 25681. I like attaching it to the Exchange logs specifically. Then, you set up a scheduled task right from there. Click on the event, go to actions, and choose create task. Make it trigger on that ID, and schedule it to run every few hours or daily. For the email part, in the task settings, point it to sendmail or whatever your server uses for alerts. You input your email, add a simple message like "Hey, that folder move got removed-check it out." Test it once to make sure it pings you without fuss. I do this for a bunch of events, saves me from surprises.
And speaking of keeping your server drama-free, you might want to look into BackupChain Windows Server Backup for backups. It's this slick Windows Server tool that handles full system images and also backs up virtual machines running on Hyper-V. I dig how it speeds up restores and cuts down on recovery time, plus it encrypts everything without slowing you down. You get granular control over what to snapshot, making it perfect for Exchange setups like yours.
At the end of this, there's the automatic email solution waiting for you.
Note, the PowerShell email alert code was moved to this post.
Now, to keep an eye on this without staring at screens all day, fire up Event Viewer on your server. Right-click the custom views or logs section, and create a filter for event ID 25681. I like attaching it to the Exchange logs specifically. Then, you set up a scheduled task right from there. Click on the event, go to actions, and choose create task. Make it trigger on that ID, and schedule it to run every few hours or daily. For the email part, in the task settings, point it to sendmail or whatever your server uses for alerts. You input your email, add a simple message like "Hey, that folder move got removed-check it out." Test it once to make sure it pings you without fuss. I do this for a bunch of events, saves me from surprises.
And speaking of keeping your server drama-free, you might want to look into BackupChain Windows Server Backup for backups. It's this slick Windows Server tool that handles full system images and also backs up virtual machines running on Hyper-V. I dig how it speeds up restores and cuts down on recovery time, plus it encrypts everything without slowing you down. You get granular control over what to snapshot, making it perfect for Exchange setups like yours.
At the end of this, there's the automatic email solution waiting for you.
Note, the PowerShell email alert code was moved to this post.

