PowerShell Logo Small

New-ADReplicationSite



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

Creates a new Active Directory replication site in the directory.

SYNTAX


New-ADReplicationSite [-Name] <String> [-AuthType <ADAuthType>] [-AutomaticInterSiteTopologyGenerationEnabled <Boolean>]
[-AutomaticTopologyGenerationEnabled <Boolean>] [-Credential <PSCredential>] [-Description <String>] [-Instance <ADReplicationSite>]
[-InterSiteTopologyGenerator <ADDirectoryServer>] [-ManagedBy <ADPrincipal>] [-OtherAttributes <Hashtable>] [-PassThru [<SwitchParameter>]]
[-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 [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<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/?LinkId=216377
Get-ADReplicationSite
Remove-ADReplicationSite
Set-ADReplicationSite

REMARKS

<

Examples


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

C:\PS>New-ADReplicationSite NorthAmerica



Description

-----------

Create a new site named 'NorthAmerica'.




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

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



Description

-----------

Create a new site named 'Europe', and set the AutomaticInterSiteTopologyGenerationEnabled property on the new object.




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

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



Description

-----------

Create a new site named 'Asia', and set the daily ReplicationSchedule from 20:00 to 22:30.