Installing Active Directory and DNS has always been fairly straightforward. You can always use Server Manager, but using PowerShell is really quite simple.
This recipe starts with two non-domain joined hosts, DC1
and DC2
. Each host is running Windows Server 2019 with no tools loaded. After creating the initial forest and forest root server (DC1
), you convert DC2
to be another domain controller that also runs DNS.
On
DC1
, install the AD Domain Services feature and the associated management tools:Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
Install
DC1
as the forest root domain controller in theDC1.Reskit.Org
forest:$PSSHT = @{ String = 'Pa$$w0rd' AsPlainText = $true Force = $true } $PSS = ConvertTo-SecureString @PSSHT $ADHT = @{ DomainName = 'Reskit.Org' SafeModeAdministratorPassword = $PSS InstallDNS = $true DomainMode = 'WinThreshold...