Description: Checks Distributed File System (DFS) referrals by performing the following tests: - When you use the DFSPath ...

Description: 
Checks Distributed File System (DFS) referrals by performing the
following tests:
- When you use the DFSPath parameter without arguments, this command
  validates that the referral list includes all trusted domains.
- When you specify a domain, the command performs a health check of
  domain controllers (Dfsdiag /testdcs) and tests the site associations and
  domain cache of the local host.
- When you specify a domain and \SYSVOL or 
ETLOGON, in addition to 
  performing the same health checks as when you specify a domain, the
  command checks that the Time To Live (TTL) of SYSVOL or NETLOGON referrals
  match the default value of 900 seconds.
- When you specify a namespace root, in addition to performing the same
  health checks as when you specify a domain, the command performs a 
  DFS configuration check (Dfsdiag /TestDFSConfig) and a
  namespace integrity check (Dfsdiag /TestDFSIntegrity).
- When you specify a DFS folder (link), in addition to performing the same
  health checks as when you specify a namespace root, the command validates
  the site configuration for folder targets (Dfsdiag /testsites) and validates
  the site association of the local host.

Usage:
DFSDiag /TestReferral /DFSPath: [/Full]

Parameters:
/DFSPath:: This DFS path can be one of the 
                                       following:
                                       (blank): Tests trusted domains.
                                       \\Domain: Domain controller referrals.
                                       \\Domain\SYSVOL: SYSVOL referrals.
                                       \\Domain
ETLOGON: NETLOGON referrals.
                                       \\\:
                                       Namespace root referrals.
                                       \\\\: DFS folder 
                                       (link) referrals.

/Full:                                 Applied only to Domain and Root 
                                       referrals. Verifies the consistency of
                                       site association information between
                                       the registry and Active Directory
                                       Domain Services (AD DS).

Examples:
DFSDiag /TestReferral /DFSPath:\\Contoso.com\MyNamespace
DFSDiag /TestReferral /DFSPath: