Which cmdlet should you run next?

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?

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.



Leave a Reply 6

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

5 + three =


Philip

Philip

I think answer is B

Andreas

Andreas

Add the domain controller is a later step, AFTER installing the ADDS role. You cannot promote a server to DC if the role isn’t installed.

Jeff Doty

Jeff Doty

Andreas is correct:

You first have to add the Feature:
Add-WindowsFeature AD-Domain-Services

Then promote the server:
Install-ADDSDomainController -CreateDnsDelegation:$false -DatabasePath ‘C:\Windows\NTDS’ -DomainName ‘domain.com’ -InstallDns:$true -LogPath ‘C:\Windows\NTDS’ -NoGlobalCatalog:$false -SiteName ‘Default-First-Site-Name’ -SysvolPath ‘C:\Windows\SYSVOL’ -NoRebootOnCompletion:$true -Force:$true

So the answer is C.

See this article:
http://mikefrobbins.com/2013/03/14/use-powershell-to-add-an-additional-domain-controller-to-an-existing-windows-server-2012-active-directory-domain/

toast

toast

You’re correct, answer is C.
However, on 2012 the command is Install-WindowsFeature.
On 2008 it was Add-WindowsFeature.

Josh

Josh

it’s new fresh server… 1st step is to install a feature
the answer is C

AldoSan

AldoSan

Commandlt is missing a dash : Install-WindowsFeature