Can I Replicate A Single Active Directory Object?

Starting with Windows Server 2012, there are PowerShell cmdlets available to manage Active Directory replication. One of the PowerShell cmdlets is the Sync-ADObject which allows you to replicate a single Active Directory object to all domain controllers quickly. 

For example, if you want to quickly replicate a user account to all domain controllers, execute the below PowerShell command:

  • Get-ADDomainController -filter * | foreach {Sync-ADObject -object “CN=TestUser1, OU=VIP Users,DC=Test,DC=Local” -source DC1 -destination $_.hostname}

The above command replicates user TestUser1, which is located in the VIP Users OU, to all the domain controllers.

About Nirmal Sharma

Nirmal is a MCSEx3, MCITP and was awarded Microsoft MVP award in Directory Services and Windows Networking. He is specialized in Directory Services, Failover cluster, Hyper-V, System Center, Windows Azure, and Exchange Servers and has been involved in Microsoft Technologies since 1994. In his spare time, he offers technical help by writing tips and articles on several web sites. 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