AddsSitesSubnets manages Replication Sites and Replication Subnets within Active Directory.
Use this resource when you need to create AD replication sites and assign IP subnets to those sites. Proper site and subnet configuration ensures clients authenticate against the nearest domain controller and that replication traffic flows efficiently across your network.
Source |
|
DSC Resource |
|
Documentation |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Hashtable[] |
List of Replication Sites within Active Directory |
|||
Hashtable[] |
List of Replication Subnets within Active Directory |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Name |
Mandatory |
String |
Specifies the name of the Active Directory replication site. |
|
Ensure |
String |
Specifies if the Active Directory replication site should be present or absent. |
|
|
RenameDefaultFirstSiteName |
Boolean |
Specifies if the Default-First-Site-Name should be renamed if it exists. |
|
|
Description |
String |
Specifies a description of the object. This parameter sets the value of the Description property for the object. The LDAP Display Name (ldapDisplayName) for this property is 'description'. |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Name |
Mandatory |
String |
The name of the Active Directory replication subnet, e.g. |
|
Site |
Mandatory |
String |
The name of the assigned Active Directory replication site, e.g. |
|
Ensure |
String |
Specifies if the Active Directory replication subnet should be present or absent. |
|
|
Location |
String |
The location for the Active Directory replication site. Default value is empty ('') location. |
||
Description |
String |
Specifies a description of the object. This parameter sets the value of the Description property for the object. |
AddsSitesSubnets:
Sites:
- Name: Sparta
RenameDefaultFirstSiteName: true
- Name: Athens
Subnets:
- Name: 10.0.1.0/24
Site: Sparta
Location: Sparta
- Name: 10.0.2.0/24
Site: Athens
Location: Sparta