PS - AD - Create AD Sites / Disable KCC

Create Active Directory Sites

To create Active Directory Sites run the following PowerShell command from a DC within the Active Directory Domain with the AD management module loaded:


New-ADReplicationSite ADSiteName1

New-ADReplicationSite ADSiteName2




Disable Inter and Intra Replication Object Creation

To ensure that the Knowledge Consistancy Checker (KCC) does not create any additional replication links Inter-site and Intra-site the following PowerShell scripts should be executed following the AD site creation. It is important to note that the Replication links should be defined prior to executing these commands. 

repadmin /siteoptions /site:ADSiteName1 +IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED +IS_AUTO_TOPOLOGY_DISABLED

repadmin /siteoptions /site:ADSiteName2 +IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED +IS_AUTO_TOPOLOGY_DISABLED

Comments