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.

Steps:

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]

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top