PowerShell Logo Small

Get-ADReplicationConnection



This is the built-in help made by Microsoft for the command 'Get-ADReplicationConnection', 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.

SYNOPSIS

Returns a specific Active Directory replication connection or a set of AD replication connection objects based on a specified filter.

SYNTAX


Get-ADReplicationConnection [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Filter <String>] [-Properties <String[]>] [-Server <String>] [<CommonParameters>]
Get-ADReplicationConnection [-Identity] <ADReplicationConnection> [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Properties <String[]>] [-Server <String>]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-ADReplicationConnection cmdlet returns a specific Active Directory replication connection or a set of AD replication connection objects based on a specified filter.
Connections are used to enable domain controllers to replicate with each other. A connection defines a one-way, inbound route from one domain controller, the source, to
another domain controller, the destination. The Kerberos consistency checker (KCC) reuses existing connections where it can, deletes unused connections, and creates new
connections if none exist that meet the current need.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291039
Set-ADReplicationConnection

REMARKS

<

Examples


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

PS C:\>Get-ADReplicationConnection -Filter *



This command gets all the replication connections.




-------------------------- EXAMPLE 2 --------------------------

PS C:\>Get-ADReplicationConnection -Filter {ReplicateFromDirectoryServer -eq "corp-DC01"}



This command gets all replication connections that replicate from corp-DC01.




-------------------------- EXAMPLE 3 --------------------------

PS C:\>Get-ADReplicationConnection -Identity "5f98e288-19e0-47a0-9677-57f05ed54f6b"



This command gets the replication connection with name 5f98e288-19e0-47a0-9677-57f05ed54f6b.




-------------------------- EXAMPLE 4 --------------------------

PS C:\>Get-ADReplicationConnection -Identity "5f98e288-19e0-47a0-9677-57f05ed54f6b" -Properties *



This command gets all the properties of the replication connection with name 5f98e288-19e0-47a0-9677-57f05ed54f6b.