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:
Installs a new Active Directory domain configuration
C:\\PS>Install-ADDSDomain -Credential (Get-Credential CORP\\EnterpriseAdmin1) -NewDomainName child – ParentDomainName corp.contoso.com -InstallDNS –
CreateDNSDelegation -DomainMode Win2003 – ReplicationSourceDC DC1.corp.contoso.com -SiteName Houston -DatabasePath “D:\\NTDS” SYSVOLPath “D:
\\SYSVOL” -LogPath
“E:\\Logs” NoRebootOnCompletion

http://technet.microsoft.com/en-us/library/hh974722.aspx



Leave a Reply 2

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


Cartman

Cartman

Is we shouldn’t Install-WindowsFeature first (C) ?

IPv6

IPv6

If you try to reconfigure a DC as a member server, you’ll see AD DS role are still installed.