What are the Active Directory Replication Management PowerShell Modules?

by [Published on 20 June 2013 / Last Updated on 20 June 2013]

This tip explains the available Active Directory Replication Management PowerShell modules.

There are various ways to check Active Directory Replication Status. You can use Repadmin.exe command, which ships with the Operating System, to check the status of the Active Directory Replication. Similarly, PowerShell also offers a number of modules for Active Directory. There are 6 PowerShell cmdlets offered by PowerShell to manage or troubleshoot the Active Directory replication issues. You can use the following replication management cmdlets to view and troubleshoot Active Directory replication issues:

  • Get-ADReplicationAttributeMetadata

Shows the replication metadata for the attributes of the distinguished name specified.

  • Get-ADReplicationFailure

Gets information about replication failure for a specified server, site, domain, or forest.

  • Get-ADReplicationPartnerMetadata

Gets replication metadata for a specified server, site, domain, or forest.

  • Get-ADReplicationQueueOperation

Gets pending operations on a server’s replication queue.

  • Get-ADReplicationUpToDatenessVectorTable

Gets the highest USN for the specified server, site, domain, or forest.

  • Sync-ADObject

Replicates the specified directory object.

An example of checking the Active Directory Replication status in a domain is shown below using the Get-ADReplicationFailure cmdlet:

Get-ADReplicationFailure -Target "MyDomain.com" -Scope Domain

Note: You must import the Active Directory modules using Import-Module ActiveDirectory before you can use the above mentioned cmdlets for Active Directory.

See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal 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 PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links