PowerShell Logo Small

New-ADReplicationSite



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

Creates a new Active Directory replication site in the directory.

SYNTAX


New-ADReplicationSite [-Name] <String> [-AuthType {Negotiate | Basic}] [-AutomaticInterSiteTopologyGenerationEnabled <Boolean>] [-AutomaticTopologyGenerationEnabled
<Boolean>] [-Credential <PSCredential>] [-Description <String>] [-Instance <ADReplicationSite>] [-InterSiteTopologyGenerator <ADDirectoryServer>] [-ManagedBy <ADPrincipal>]
[-OtherAttributes <Hashtable>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-RedundantServerTopologyEnabled <Boolean>] [-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] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The New-ADReplicationSite cmdlet is used to create new sites in Active Directory 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/p/?linkid=291070
Get-ADReplicationSite
Remove-ADReplicationSite
Set-ADReplicationSite

REMARKS

<

Examples


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

PS C:\>New-ADReplicationSite -Name "NorthAmerica"



This command creates a new site named NorthAmerica.




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

PS C:\>New-ADReplicationSite -Name "Europe" -AutomaticInterSiteTopologyGenerationEnabled $FALSE



This command creates a new site named Europe, and sets the AutomaticInterSiteTopologyGenerationEnabled property 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-ADReplicationSite -Name "Asia" -ReplicationSchedule $schedule



This example creates a new site named Asia, and sets the daily ReplicationSchedule from 20:00 to 22:30.