PowerShell Logo Small

Get-ADReplicationSiteLink



This is the built-in help made by Microsoft for the command 'Get-ADReplicationSiteLink', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 <ADAuthType>] [-Credential <PSCredential>] [-Properties <String[]>] [-Server <String>] -Filter <String>
[<CommonParameters>]
Get-ADReplicationSiteLink [-Identity] <ADReplicationSiteLink> [-AuthType <ADAuthType>] [-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/?LinkId=216358
New-ADReplicationSiteLink
Remove-ADReplicationSiteLink
Set-ADReplicationSiteLink

REMARKS

<

Examples


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

C:\PS>Get-ADReplicationSiteLink -Filter *



Description

-----------

Get all the site links.




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

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



Description

-----------

Get all site links that include 'NorthAmerica'.




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

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



Description

-----------

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




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

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



Description

-----------

Get the site link with name 'Europe-Asia'.




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

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



Description

-----------

Get the ReplicationSchedule property of the site link with name 'Europe-Asia'.