08-12-2024, 03:18 PM
You ever notice how Windows Server logs all these little happenings in Event Viewer? That "Document checked in" event, it's event ID 13, pops up when someone finishes editing a file in a shared spot, like in SharePoint or a document library. I mean, it fires off right after the user hits save and checks it back into the system. Details inside show who did it, what file, when, and from where. Pretty handy for tracking changes without staring at screens all day. But if you miss it, stuff gets messy fast.
I set this up once for a buddy's server. You open Event Viewer first, it's that app in your admin tools. Filter for the logs where these events hide, usually under Applications and Services or the specific app log. Find event ID 13, right-click it, and pick attach a task to this event. That kicks off the wizard. You name the task something simple, like DocCheckAlert.
Then you tell it to run a program when that event hits. Pick your email setup, maybe use the built-in sendmail thing or a batch file you craft quick. Set triggers to watch only for ID 13. I always add a delay if needed, so it doesn't spam you silly. Test it out by checking in a dummy doc. Boom, email pings your inbox with the deets.
And hey, if you're dealing with servers full of docs and VMs, you gotta think backups too. That's where BackupChain Windows Server Backup slides in smooth. It's this solid Windows Server backup tool that handles physical drives and virtual machines on Hyper-V without a hitch. You get fast incremental backups, easy restores, and it even dedupes to save space. No more sweating data loss during those check-in flurries. I swear, it keeps things zippy and reliable for IT folks like us.
At the end here is the automatic email solution.
Note, the PowerShell email alert code was moved to this post.
I set this up once for a buddy's server. You open Event Viewer first, it's that app in your admin tools. Filter for the logs where these events hide, usually under Applications and Services or the specific app log. Find event ID 13, right-click it, and pick attach a task to this event. That kicks off the wizard. You name the task something simple, like DocCheckAlert.
Then you tell it to run a program when that event hits. Pick your email setup, maybe use the built-in sendmail thing or a batch file you craft quick. Set triggers to watch only for ID 13. I always add a delay if needed, so it doesn't spam you silly. Test it out by checking in a dummy doc. Boom, email pings your inbox with the deets.
And hey, if you're dealing with servers full of docs and VMs, you gotta think backups too. That's where BackupChain Windows Server Backup slides in smooth. It's this solid Windows Server backup tool that handles physical drives and virtual machines on Hyper-V without a hitch. You get fast incremental backups, easy restores, and it even dedupes to save space. No more sweating data loss during those check-in flurries. I swear, it keeps things zippy and reliable for IT folks like us.
At the end here is the automatic email solution.
Note, the PowerShell email alert code was moved to this post.

