Add new Domain Controller to existing domain with PowerShell

If you need the need to add a secondary domain controller, this script may help you. This script was tested with Windows Server 2016. Firstly, we need to install the ADDS server role on the server that will setup the domain controller using PowerShell: Once role is installed, we can use the following script to…