Find AD Replication Failures

by Feb 10, 2015

Windows 8.1, Server 2012 R2

Investigating Active Directory replication failures becomes easy with Windows 8.1 and Server 2012 R2. A new cmdlet called Get-ADReplicationFailure will output recent replication failure information. Use it to check a specific domain controller:

 
PS> Get-ADReplicationFailure dc1.test.com 
 

Or check an entire site:

 
PS> Get-ADReplicationFailure -Scope Site -Target Hannover  
 

This cmdlet is part of the ActiveDirectory module shipped with Windows 8.1 and Server 2012 R2. Before you can use it, make sure you enable the feature in Control Panel/Software/Windows Features. It is part of the “Remote Server Administration Tools” (RSAT). If your Windows 8.1 does not come with RSAT preinstalled, you can download it here: http://www.microsoft.com/de-de/download/details.aspx?id=39296.

To check out the other cmdlets shipping with this module, try this:

 
PS> Get-Command -Module ActiveDirectory

CommandType     Name                                               ModuleName  
-----------     ----                                               ----------  
Cmdlet          Add-ADCentralAccessPolicyMember                    ActiveDir...
Cmdlet          Add-ADComputerServiceAccount                       ActiveDir...
Cmdlet          Add-ADDomainControllerPasswordReplicationPolicy    ActiveDir...
Cmdlet          Add-ADFineGrainedPasswordPolicySubject             ActiveDir...
(...)
 

Note that RSAT for Windows 8.1/Server 2012 R2 comes with additional cmdlets that are not available in RSAT for older Windows versions.

Twitter This Tip! ReTweet this Tip!