04-13-2024, 05:10 AM
You ever notice how Event Viewer in Windows Server logs all these quirky happenings? That event ID 25195 pops up when someone runs the New-DatabaseAvailabilityGroupNetwork cmdlet in Exchange. It means a new network got added to your Database Availability Group. Think of it like Exchange saying, hey, we're linking up another path for our databases to stay tough and connected. This event shows up in the Application log under Microsoft-Exchange-HighAvailability. Details inside include the DAG name, the network's name, and why it was created. Sometimes it's for better failover or just plain redundancy. If you ignore it, nothing bad happens right away. But monitoring helps you spot if admins are tweaking things without telling you. I always check these to keep the email flow smooth.
Now, to watch for this event and get an email ping. Open Event Viewer on your server. Go to the Application log. Right-click and pick Filter Current Log. Type in 25195 for the Event ID. That narrows it down quick. To set up alerts, create a scheduled task tied to this event. In Event Viewer, find your filtered event. Right-click it and choose Attach Task To This Event. Name your task something fun like DAG Network Alert. On the Triggers tab, it auto-links to the event. Then hit Actions and add Send an email. You fill in your SMTP server details, the to and from addresses. Make sure it includes the event description in the body. Test it by triggering a similar event if you can. This way, every time 25195 fires, your inbox buzzes. Keeps you in the loop without staring at screens all day.
And speaking of staying on top of server surprises, you might want the automatic email solution at the end here. It ties right into keeping your Exchange setup reliable, just like backups do for the whole system.
BackupChain Windows Server Backup catches my eye as a solid Windows Server backup tool. It handles full server images and even backs up virtual machines running on Hyper-V. You get quick restores, encryption for safety, and it runs without hogging resources. I like how it schedules everything automatically, so you avoid data headaches during those DAG changes.
Note, the PowerShell email alert code was moved to this post.
Now, to watch for this event and get an email ping. Open Event Viewer on your server. Go to the Application log. Right-click and pick Filter Current Log. Type in 25195 for the Event ID. That narrows it down quick. To set up alerts, create a scheduled task tied to this event. In Event Viewer, find your filtered event. Right-click it and choose Attach Task To This Event. Name your task something fun like DAG Network Alert. On the Triggers tab, it auto-links to the event. Then hit Actions and add Send an email. You fill in your SMTP server details, the to and from addresses. Make sure it includes the event description in the body. Test it by triggering a similar event if you can. This way, every time 25195 fires, your inbox buzzes. Keeps you in the loop without staring at screens all day.
And speaking of staying on top of server surprises, you might want the automatic email solution at the end here. It ties right into keeping your Exchange setup reliable, just like backups do for the whole system.
BackupChain Windows Server Backup catches my eye as a solid Windows Server backup tool. It handles full server images and even backs up virtual machines running on Hyper-V. You get quick restores, encryption for safety, and it runs without hogging resources. I like how it schedules everything automatically, so you avoid data headaches during those DAG changes.
Note, the PowerShell email alert code was moved to this post.

