PowerShell Logo Small

Get-ADReplicationSiteLink



This is the built-in help made by Microsoft for the command 'Get-ADReplicationSiteLink', 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 site link or a set of site links based on a specified filter.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Get-ADReplicationSiteLink cmdlet can be used to return a specific Active Directory site link or a set of site links based on a specified filter. A site link connects
two or more sites. Site links reflect the administrative policy for how sites are to be interconnected and the methods used to transfer replication traffic. You must connect
sites with site links so that domain controllers at each site can replicate Active Directory changes.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291044
New-ADReplicationSiteLink
Remove-ADReplicationSiteLink
Set-ADReplicationSiteLink

REMARKS

<

Examples


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

PS C:\>Get-ADReplicationSiteLink -Filter *



This command gets all the site links.




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

PS C:\>Get-ADReplicationSiteLink -Filter {SitesIncluded -eq "NorthAmerica"} | FT Name,SitesIncluded -A



This command gets all site links that include NorthAmerica.




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

PS C:\>Get-ADReplicationSiteLink -Filter {Cost -gt 100 -and ReplicationFrequencyInMinutes -lt 15}



This command gets all site links that have a cost greater than 100 and a replication frequency less than 15 minutes.




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

PS C:\>Get-ADReplicationSiteLink -Identity "Europe-Asia"



This command gets the site link with name Europe-Asia.




-------------------------- EXAMPLE 5 --------------------------

PS C:\>Get-ADReplicationSiteLink -Identity "Europe-Asia" -Properties ReplicationSchedule



This command gets the ReplicationSchedule property of the site link with name Europe-Asia.