February 2019
Beginner to intermediate
542 pages
10h 34m
English
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.
DC1, install the AD Domain Services feature and the associated management tools:Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
DC1 as the forest root domain controller in the DC1.Reskit.Org forest:$PSSHT = @{ String = 'Pa$$w0rd' AsPlainText = $true ...