-
Notifications
You must be signed in to change notification settings - Fork 141
ADReplicationSubnet
dscbot edited this page Aug 24, 2023
·
4 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Ensure | Write | String | Specifies if the Active Directory replication subnet should be present or absent. Default value is 'Present'. |
Present , Absent
|
Name | Key | String | The name of the Active Directory replication subnet, e.g. 10.0.0.0/24. | |
Site | Required | String | The name of the assigned Active Directory replication site, e.g. Default-First-Site-Name. | |
Location | Write | String | The location for the Active Directory replication site. Default value is empty ('') location. | |
Description | Write | String | Specifies a description of the object. This parameter sets the value of the Description property for the object. |
The ADReplicationSubnet DSC resource will manage replication subnets.
- Target machine must be running Windows Server 2008 R2 or later.
This configuration will create an AD Replication Subnet.
Configuration ADReplicationSubnet_CreateReplicationSubnet_Config
{
Import-DscResource -Module ActiveDirectoryDsc
Node localhost
{
ADReplicationSubnet 'LondonSubnet'
{
Name = '10.0.0.0/24'
Site = 'London'
Location = 'Datacenter 3'
Description = 'Datacenter Management Subnet'
}
}
}
- ADComputer
- ADDomain
- ADDomainController
- ADDomainControllerProperties
- ADDomainDefaultPasswordPolicy
- ADDomainFunctionalLevel
- ADDomainTrust
- ADFineGrainedPasswordPolicy
- ADForestFunctionalLevel
- ADForestProperties
- ADGroup
- ADKDSKey
- ADManagedServiceAccount
- ADObjectEnabledState
- ADObjectPermissionEntry
- ADOptionalFeature
- ADOrganizationalUnit
- ADReadOnlyDomainControllerAccount
- ADReplicationSite
- ADReplicationSiteLink
- ADReplicationSubnet
- ADServicePrincipalName
- ADUser
- Home
- WaitForADDomain