Script generating report for DAG replication queues and status on Exchange 2010

0 Flares Filament.io 0 Flares ×

When I was working as mail engineer I had to write the script for monitoring CCR queues on Exchange 2007, then my friend had rewritten the script to monitor DAG replication queues on Exchange 2010. So what script does, it generates a html report about the DAG replication queues and sends it via email to defined recipients. There were some tricky parts we’ve had to face, for example there was no possibility to use any open-relay receive connector to send mail, so solution was to create an “eml” file and put it to Exchange “Pickup” folder and it’s a bit tricky to create eml file containing html attachment :).

So here goes the script

And that’s it. I hope it can be useful for you. Cheers.

0 Flares LinkedIn 0 Google+ 0 Facebook 0 Twitter 0 Filament.io 0 Flares ×

Leave a Reply

Your email address will not be published. Required fields are marked *