If you have a member server which you want to make a domain controller these are the powershell commands:
Install the required features with this command:
Install-WindowsFeature AD-Domain-Services –IncludeManagementTools
Promote it to a domain controller with this:
Install-ADDSDomainController -DomainName -InstallDNS:$True –Credential (Get-Credential)
This command replaces DCPROMO
Install the required features with this command:
Install-WindowsFeature AD-Domain-Services –IncludeManagementTools
Promote it to a domain controller with this:
Install-ADDSDomainController -DomainName -InstallDNS:$True –Credential (Get-Credential)
This command replaces DCPROMO