Installing and Configuring Domain Controllers with Windows Server Core

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:

1Install-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:

1Install-ADDSForest -DomainName contoso.com