Install Active Directory Domain Services
The following PowerShell command will install the Active Directory Domain Services binaries, but will not make the server a Domain Controller:
1 | Install-WindowsFeature AD-Domain-Services -IncludeManagementTools |
Once the binaries have been installed, now the forest can be created and the server can become a Domain Controller:
1 | Install-ADDSForest -DomainName contoso.com |