Check Object Replication Status across Active Directory Forest
Let’s assume you have hundreds of domain controllers running in your Active Directory forest and you want to ensure that an object once created on in Active Directory can be seen by all domain controllers in the Active Directory Forest. For example, you want to check status of a newly created user.
1. Get all domain controllers list and store in a text file by executing the command below:
- DSQuery Server –O RDN > DCList.txt
2.Run below command to check the status of user in each domain controller:
- For /F “Tokens=*” %L IN (DCList.TXT) DO DSQuery user –DomainRoot –Name TestUser > OutPut.txt
About Nirmal Sharma
Nirmal Sharma is a MCSEx3, MCITP and Microsoft MVP in Directory Services. He specializes in directory services, Microsoft Azure, Failover clusters, Hyper-V, and System Center products and has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to Dynamic Packs for www.ITDynamicPacks.Net solutions. Nirmal can be reached at [email protected]