Unattend Installatie PowerShell Scripts:

ADDS Unattend Script:

Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath "C:\Windows\NTDS" `
-DomainMode "Win2012" `
-DomainName "(domain.TopLevelDomain)" `
-DomainNetbiosName "(domain)" `
-ForestMode "Win2012" `
-InstallDns:$true `
-LogPath "C:\Windows\NTDS" `
-NoRebootOnCompletion:$false `
-SysvolPath "C:\Windows\SYSVOL" `
-Force:$true

ADDS Unattend Script:

[DCInstall]
New forest promotion
ReplicaOrNewDomain=Domain
NewDomain=Forest
NewDomainDNSName= (domain.TopLevelDomain)
ForestLevel=2
DomainNetbiosName= (domain)
DomainLevel=2
InstallDNS=Yes
ConfirmGc=Yes
CreateDNSDelegation=No
DatabasePath="C:\Windows\NTDS"
LogPath="C:\Windows\NTDS"
SYSVOLPath="C:\Windows\SYSVOL"
SafeModeAdminPassword= (Password)
RebootOnCompletion=Yes