PowerShell Logo Small

Set-ADReplicationSiteLinkBridge



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

Sets the properties of a replication site link bridge in Active Directory.

SYNTAX


Set-ADReplicationSiteLinkBridge [-Identity] <ADReplicationSiteLinkBridge> [-Add <Hashtable>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-Credential <PSCredential>]
[-Description <String>] [-PassThru] [-Remove <Hashtable>] [-Replace <Hashtable>] [-Server <String>] [-SiteLinksIncluded <Hashtable>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-ADReplicationSiteLinkBridge [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-Instance <ADReplicationSiteLinkBridge>] [-PassThru] [-Server <String>]
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ADReplicationSiteLinkBridge cmdlet sets the properties for a replication site link bridge in Active Directory. A site link bridge connects two or more site links and
enables transitivity between site links. Each site link in a bridge must have a site in common with another site link in the bridge.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=291127
Get-ADReplicationSiteLinkBridge
New-ADReplicationSiteLinkBridge
Remove-ADReplicationSiteLinkBridge

REMARKS

<

Examples


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

PS C:\>Set-ADReplicationSiteLinkBridge -Identity "NorthAmerica-Asia" -SiteLinksIncluded
@{Add='NorthAmerica-Europe2','Europe2-Asia';Remove='NorthAmerica-Europe','Europe-Asia'}



This command updates the site link bridge NorthAmerica-Asia to use Europe2 instead of Europe.




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

PS C:\>Get-ADReplicationSiteLinkBridge -Filter {SiteLinksIncluded -eq "NorthAmerica-Europe" -and SiteLinksIncluded -eq "Europe-Asia"} -Properties SiteLinksIncluded | %
{Set-ADReplicationSiteLinkBridge $_ -SiteLinksIncluded @{Add='NorthAmerica-Europe2','Europe2-Asia';Remove='NorthAmerica-Europe','Europe-Asia'}}



This command gets all the site link bridges in the directory that includes site links NorthAmerica-Europe and Europe-Asia, and then updates the site link bridge objects to
use Europe2 instead of Europe.