Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values | ||
---|---|---|---|---|---|---|
DomainFQDN |
Mandatory |
String |
The fully qualified domain name (FQDN) of a new domain. If setting up a child domain this must be set to a single-label DNS name. |
|||
Mandatory |
String |
NetBIOS name for the new domain. |
||||
Hashtable |
The DomainTrust resource will manage Bidirectional Forest Domain Trusts. |
|||||
String |
Distinguished Name (DN) of the domain. |
|||||
DomainJoinAccount |
PSCredential |
Placeholder to be able to store domain join account in the yaml files. |
||||
DomainAdministrator |
PSCredential |
Specifies the user account credentials to use to perform this task. |
||||
SafeModeAdministratorPassword |
PSCredential |
Password for the administrator account when the computer is started in Safe Mode. |
||||
DatabasePath |
String |
Path to a directory that contains the domain database. |
Default: |
|||
LogPath |
String |
Path to a directory for the log file that will be written. |
Default: |
|||
SysvolPath |
String |
Path to a directory where the Sysvol file will be written. |
Default: |
|||
ForestMode |
String |
The Forest Functional Level for the entire forest. |
|
|||
ForceRebootBefore |
Boolean |
Force reboot before creating the new AD domain.
|
|
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Fqdn |
Mandatory |
String |
The fully qualified domain name (FQDN) of a trusted domain. |
|
Name |
Mandatory |
String |
Name of the domain trust. |
|
Credential |
Mandatory |
pscredential |
Specifies the credentials to authenticate to the target domain. |
AddsDomain:
DomainFqdn: contoso.com
DomainName: contoso
DomainDN: DC=contoso,DC=com
DomainJoinAccount: '[ENC=PE9ianMgVm...=]'
DomainAdministrator: '[ENC=PE9ianMgVmVyc2l...=]'
SafeModeAdministratorPassword: '[ENC=PE9ianMgVmVyc2lvbj...=]'
DatabasePath: C:\Windows\NTDS
LogPath: C:\Windows\Logs
SysvolPath: C:\Windows\SYSVOL
ForestMode: Win2012R2
ForceRebootBefore: True
DomainTrust:
Fqdn: northwindtraders.com
Name: northwindtraders
Credential: '[ENC=PE9ianMgVmVyc2lvbj0i...=]'