You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For /f %i IN ('dsquery server -o rdn') do @echo %i && @wmic /node:"%i" /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo WHERE replicatedfoldername='SYSVOL share' get replicationgroupname,replicatedfoldername,state
MCCC-DC
ReplicatedFolderName ReplicationGroupName State
SYSVOL Share Domain System Volume 2
cc-dc01
ReplicatedFolderName ReplicationGroupName State
SYSVOL Share Domain System Volume 2
C:\Windows\system32>For /f %i IN ('dsquery server -o rdn') do @echo %i && @(net view \\%i | find "SYSVOL") & echo