PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Get-ADReplicationQueueOperation', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Returns the contents of the replication queue for a specified server.


Get-ADReplicationQueueOperation [-Server] <String> [[-Partition] <String[]>] [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Filter <String>]

Search powershellhelp.space


The Get-ADReplicationQueueOperation cmdlet returns all of the pending operations in the replication queue. While replication operations are pending, this cmdlet can be
useful for determining the status of queued operations.

The Get-ADReplicationQueueOperation cmdlet can be called from script to watch and observe when operations get moved out of the queue as they are replicated. It also allows
for filtering on any of the properties on the ADReplicationOperation object.

The replication queue operates in the following manner: suppose a domain controller has five inbound replication connections. As the domain controller formulates change
requests, either by a schedule being reached or from a notification, it adds a work item for each request to the end of the queue of pending synchronization requests. Each
pending synchronization request represents one <source domain controller, directory partition> pair, such as synchronize the schema directory partition from DC1 or delete
the ApplicationX directory partition.

When a work item has been received into the queue, notification and polling intervals do not apply. Instead, the domain controller processes the item (begins synchronizing
from its source) as soon as the work item reaches the front of the replication queue. This process continues until either the destination is fully synchronized with the
source domain controller, an error occurs, or the synchronization is pre-empted by a higher-priority operation.



Online Version: http://go.microsoft.com/fwlink/p/?linkid=291042




-------------------------- EXAMPLE 1 --------------------------

PS C:\>Get-ADReplicationQueueOperation -Server "corp-DC01.corp.contoso.com"

This command gets the pending operations in the replication queue for the domain controller corp-DC01 as specified by its fully qualified domain name (FQDN).