Active Directory - Brandon-Duffy/SYS-265 GitHub Wiki
- On DC1
- Open up powershell by typing “powershell” in the command line
- Then run: Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
- After this run Install-ADDSForest -DomainName kitten.local
- On mgmt01 right-click on servers and select add new server and add DC1
Invoke PowerShell and install Active Directory Services Role:
Set DC2's DNS as DC1's IP Address.
"Set-DNSClientServerAddress -InterfaceAlias -ServerAddresses 172.16.1.12"
Once that's completed, promote the server to a domain controller in an existing domain.
"Install-ADDSDomainController -InstallDns -Credential (Get-Credential kitten.local\Administrator) -DomainName kitten.local -SafeModeAdministratorPassword (ConvertTo-SecureString -AsPlainText -Force)
Accept with [Y] Yes to continue
After restarting, run 'sconfig' and verify new DC is domain joined.
On MGMT1 Server manager and add the new DC.