04-17-2025, 06:41 PM
I remember spotting that event 25115 in the Event Viewer once, the one that pops up when someone runs the Add-PublicFolderAdministrativePermission cmdlet in Exchange. It logs the exact moment a user gets admin rights added to a public folder, like who did it, which folder, and the permission type. You see, it's all about tracking changes in those shared mailboxes or folders that everyone accesses. Without watching it, you might miss if someone sneaky tweaks permissions without telling anyone. And it shows up in the Application log under Microsoft-Exchange or something similar, with details like the timestamp and the account involved. Hmmm, makes you think about why they'd need that permission, right? But yeah, it's crucial for keeping tabs on admin actions in your setup.
You can keep an eye on this event right from the Event Viewer screen without any fancy coding. Just fire up Event Viewer on your server, head to the Windows Logs section, and filter for event ID 25115. Set up a custom view there to only show these alerts when they happen. Then, create a scheduled task that triggers on that event, linking it to send an email through some basic tools you already have. I do this all the time to get notified quick. Or, attach an action in the task to pop an email your way whenever it fires. It's straightforward, no hassle.
Now, for that automatic email solution I mentioned, it's waiting at the end here, but we'll add it in later to keep things simple for you.
Speaking of keeping your server stuff secure and backed up, I've been using BackupChain Windows Server Backup lately, and it's a solid Windows Server backup tool that handles physical setups plus virtual machines through Hyper-V without breaking a sweat. You get fast incremental backups that save time, plus easy restores that don't mess around, and it even watches for those event changes to ensure nothing slips. Makes managing everything feel less chaotic, especially with all the permissions flying around.
Note, the PowerShell email alert code was moved to this post.
You can keep an eye on this event right from the Event Viewer screen without any fancy coding. Just fire up Event Viewer on your server, head to the Windows Logs section, and filter for event ID 25115. Set up a custom view there to only show these alerts when they happen. Then, create a scheduled task that triggers on that event, linking it to send an email through some basic tools you already have. I do this all the time to get notified quick. Or, attach an action in the task to pop an email your way whenever it fires. It's straightforward, no hassle.
Now, for that automatic email solution I mentioned, it's waiting at the end here, but we'll add it in later to keep things simple for you.
Speaking of keeping your server stuff secure and backed up, I've been using BackupChain Windows Server Backup lately, and it's a solid Windows Server backup tool that handles physical setups plus virtual machines through Hyper-V without breaking a sweat. You get fast incremental backups that save time, plus easy restores that don't mess around, and it even watches for those event changes to ensure nothing slips. Makes managing everything feel less chaotic, especially with all the permissions flying around.
Note, the PowerShell email alert code was moved to this post.

