Description: Checks the configuration of Active Directory Domain Services (AD DS) sites by verifying that servers that act ...

Description:
Checks the configuration of Active Directory Domain Services (AD DS) sites
by verifying that servers that act as namespace servers or folder
(link) targets have the same site associations on all domain controllers.

Usage:
DFSDiag /TestSites |
                    /DFSPath: [/Recurse]> [/Full]

Parameters:
/Machine::                    The name of the server on which
                                           to verify the site association.

/DFSPath::   The namespace root or Distributed
                                           File System (DFS) folder (link)
                                           with targets for which
                                           to verify the site association.

/Recurse:                                  Enumerates and verifies the site
                                           associations for all folder targets
                                           under the specified namespace root.

/Full:                                     Verifies that AD DS and the registry
                                           of the server contain the same
                                           site association information.

Example:
DFSDiag /TestSites /Machine:MyServer
DFSDiag /TestSites /DFSPath:\\Contoso.com
amespace1\Folder1 /Full
DFSDiag /TestSites /DFSPath:\\Contoso.com
amespace2 /Recurse /Full