PowerShell Logo Small

Set-ADReplicationSite



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

Sets the replication properties for an Active Directory site.

SYNTAX


Set-ADReplicationSite [-Identity] <ADReplicationSite> [-Add <Hashtable>] [-AuthType <ADAuthType>]
[-AutomaticInterSiteTopologyGenerationEnabled <Boolean>] [-AutomaticTopologyGenerationEnabled <Boolean>] [-Clear <String[]>] [-Credential
<PSCredential>] [-Description <String>] [-InterSiteTopologyGenerator <ADDirectoryServer>] [-ManagedBy <ADPrincipal>] [-PassThru
[<SwitchParameter>]] [-ProtectedFromAccidentalDeletion <Boolean>] [-RedundantServerTopologyEnabled <Boolean>] [-Remove <Hashtable>] [-Replace
<Hashtable>] [-ReplicationSchedule <ActiveDirectorySchedule>] [-ScheduleHashingEnabled <Boolean>] [-Server <String>] [-TopologyCleanupEnabled
<Boolean>] [-TopologyDetectStaleEnabled <Boolean>] [-TopologyMinimumHopsEnabled <Boolean>] [-UniversalGroupCachingEnabled <Boolean>]
[-UniversalGroupCachingRefreshSite <ADReplicationSite>] [-WindowsServer2000BridgeheadSelectionMethodEnabled <Boolean>]
[-WindowsServer2000KCCISTGSelectionBehaviorEnabled <Boolean>] [-WindowsServer2003KCCBehaviorEnabled <Boolean>]
[-WindowsServer2003KCCIgnoreScheduleEnabled <Boolean>] [-WindowsServer2003KCCSiteLinkBridgingEnabled <Boolean>] [-Confirm [<SwitchParameter>]]
[-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-ADReplicationSite [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-PassThru [<SwitchParameter>]] [-Server <String>] -Instance
<ADReplicationSite> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ADReplicationSite cmdlet is used to set the properties for an Active Directory site that is being used for replication. Sites are used
in Active Directory to either enable clients to discover network resources (published shares, domain controllers) close to the physical
location of a client computer or to reduce network traffic over wide area network (WAN) links. Sites can also be used to optimize replication
between domain controllers.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=216414
Get-ADReplicationSite
New-ADReplicationSite
Remove-ADReplicationSite

REMARKS

<

Examples


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

C:\PS>Set-ADReplicationSite NorthAmerica -InterSiteTopologyGenerator corp-DC02 -AutomaticInterSiteTopologyGenerationEnabled $false



Description

-----------

Set the properties of the site with name 'NorthAmerica' to prevent its intersite topology generator (ISTG) at ‘corp-DC02’ from generating
connections for intersite replication.




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

C:\PS>Get-ADReplicationSite -Filter * | % {Set-ADReplicationSite $_ -ScheduleHashingEnabled $true}



Description

-----------

Returns all the sites in the directory and sets the ScheduleHashingEnabled propertyto spread replication start times randomly across the
entire schedule interval rather than just the first quarter of the interval..




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

C:\PS>$schedule = New-Object -TypeName System.DirectoryServices.ActiveDirectory.ActiveDirectorySchedule;
$schedule.ResetSchedule();
$schedule.SetDailySchedule("Twenty","Zero","TwentyTwo","Thirty");
Set-ADReplicationSite "Asia" -ReplicationSchedule $schedule



Description

-----------

Set the daily replication schedule of the site with name 'Asia'.