Which cmdlet should you run?

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 reconfigure DC2 as a member server in the domain.
You need to add DC2 as the first domain controller in a new domain in the forest.
Which cmdlet should you run?

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 reconfigure DC2 as a member server in the domain.
You need to add DC2 as the first domain controller in a new domain in the forest.
Which cmdlet should you run?

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:
Since a member server does not have Active Directory Domain Services installed, you must install
this role before you can configure the new Domain Controller (which would require you to run
Install-ADDSForest).



Leave a Reply 7

Your email address will not be published. Required fields are marked *

4 + 6 =


Max

Max

The answer should be D. AD DS feature is already installed as the server was a DC before. To install a new domain in an existing forest use Install-AddsDomain

Sofiane

Sofiane

yes I’m agree with you, but in this case they say “You reconfigure DC2 as a member server in the domain”. So the AD DS feature is not installed any more.

Saquib

Saquib

The answer must be D because when reconfigured as a member server, it can be demoted rather than uninstalling the whole feature. And since, a new domain is to be added in same forest so Install-ADDSDomain.

Roma

Roma

IMHO the answer should be B

The Install-ADDSDomain cmdlet installs a new Active Directory domain configuration.

You have to promote new DC on existing domain

Install-AddsDomainController

Doge Army of Doom

Doge Army of Doom

Answer C is incorrect!

It should be: Install-WindowsFeature