Running this script in the PowerShell ISE will give you a nice output comparing the server you’re running it on with the other connection members in the replication group(s) it belongs to.

You will see “warnings” highlighted in yellow and “errors” highlighted in red.

  • Since this was ran in a production environment I had to blur out the server names and replication group names.

 

 

It uses WMI to query the DFS Replication Groups and further gather the backlog statistics.

 

Copy the code below into PowerShell ISE and run it!

 

I have modified the script for my environment to send the results via e-mail, but I’d like to polish that up a little more if I am going to share it.

 

I hope this helps you!


Leave a Reply