This runs a powershell (as remote host) to determine if any DFS folders are not in a healthy state on a server - 4 is the healthy state and this will show critical anytime a folder has a value other than 4
I use this with systems that have sometimes 100 DFS replication folders and only want to know the specific folders that are not replicating properly
the message and statistic will show how many folders are not in a healthy state and their names.