Your network contains an Active Directory forest named contoso.com. The forest contains a single
domain. The domain contains two domain controllers named DC1 and DC2 that run Windows Server
2012 R2.
The domain contains a user named User1 and a global security group named Group1.
You need to add a new domain controller to the domain.
You install Windows Server 2012 R2 on a new server named DC3.
Which cmdlet should you run next?
A.
Add-AdPrincipalGroupMembership
B.
Install-AddsDomainController
C.
Install WindowsFeature
D.
Install AddsDomain
E.
Rename-AdObject
F.
Set-AdAccountControl
G.
Set-AdGroup
H.
Set-User
Explanation:
It is the 2nd step when installing a DC by powershell on a fresh server.
With the assumption there is a “-” between install & windowsfeature, we can pick that as an answer.
1- Install AD Domain Service
Install-windowsfeature AD-domain-services
2- Install additional domain controller in domain
Install-ADDSDomainController
http://www.thegeekstuff.com/2014/12/install-windows-ad/
Some useful commands
Install-ADDSDomain
Install first domain controller in a child or tree domain
Install-ADDSDomainController
Install additional domain controller in domain
Install-ADDSForest
Install first domain controller in new forest
Test-ADDSDomainControllerInstallation
Verify prerequisites to install additional domain controller in domain
Test-ADDSDomainControllerUninstallation
Uninstall AD service from server
Test-ADDSDomainInstallation
Verify prerequisites to install first domain controller in a child or tree domain
Test-ADDSForestInstallation
Install first domain controller in new forest
Uninstall-ADDSDomainController
Uninstall the domain contoller from server