Promote Secondary Domain Controller via Powershell

In this environment there is a Windows Core 2019 DC installation. To promote a server to a domain controller use the following steps:

  • Run sconfig to give the server a Name, IP address and DNS servers
  • in Powershell
    • Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
    • Install-ADDSDomainController -InstallDns -Credential (Get-Credential jordansphere\administrator) -DomainName
    • Note: You will then be prompted for administrator credentials then Safe Mode Administrator password)