PowerShell Logo Small


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


Creates a new Active Directory site link for in managing replication.


New-ADReplicationSiteLink [-Name] <String> [[-SitesIncluded] <ADReplicationSite[]>] [-AuthType {Negotiate | Basic}] [-Cost <Int32>] [-Credential <PSCredential>]
[-Description <String>] [-Instance <ADReplicationSiteLink>] [-InterSiteTransportProtocol {IP | SMTP}] [-OtherAttributes <Hashtable>] [-PassThru]
[-ReplicationFrequencyInMinutes <Int32>] [-ReplicationSchedule <ActiveDirectorySchedule>] [-Server <String>] [-Confirm] [-WhatIf] [<CommonParameters>]

Search powershellhelp.space


The New-ADReplicationSiteLink cmdlet can be used to create a new Active Directory site link. 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.



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




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

PS C:\>New-ADReplicationSiteLink -Name "NorthAmerica-Europe" -SitesIncluded NorthAmerica,Europe

This command creates a new site link named NorthAmerica-Europe linking the two sites NorthAmerica and Europe.

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

PS C:\>New-ADReplicationSiteLink -Name "Europe-Asia" -SitesIncluded Europe,Asia -Cost 100 -ReplicationFrequencyInMinutes 15 -InterSiteTransportProtocol IP

This command creates a new site link named Europe-Asia linking two sites Europe and Asia, and set the Cost, ReplicationFrequencyInMinutes, and InterSiteTransportProtocol on
the new object.

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

PS C:\>$schedule = New-Object -TypeName System.DirectoryServices.ActiveDirectory.ActiveDirectorySchedule
PS C:\> $schedule.ResetSchedule()
PS C:\> $schedule.SetDailySchedule("Twenty","Zero","TwentyTwo","Thirty")
PS C:\> New-ADReplicationSiteLink -Name "NorthAmerica-SouthAmerica" -SitesIncluded NorthAmerica,SouthAmerica -ReplicationSchedule $schedule

This example creates a new site link named NorthAmerica-SouthAmerica linking two sites NorthAmerica and SouthAmerica, and set the daily ReplicationSchedule from 20:00 to

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

PS C:\>New-ADReplicationSiteLink -Name "Europe-Asia" -SitesIncluded Europe,Asia -OtherAttributes @{'options'=1}

This command creates a new site link named Europe-Asia linking two sites Europe and Asia, and enable change notification on the new object.