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
References:
http://technet.microsoft.com/en-us/library/hh974722.aspx



Leave a Reply 15

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

three + eight =


uday

uday

Imstall addsdomain?

Gerard Manvussa

Gerard Manvussa

After installing AD DS, you have these choices (in the wizard or in powershell):
Add a DC to an existing domain -> Install-ADDSDomainController
Add a new domain to an existing forest -> Install-ADDSDomain
Add a new forest (i.e. first DC in new forest) -> Install-ADDSForest

Google

Google

Here are some links to web-sites that we link to because we consider they may be worth visiting.

Google

Google

One of our guests lately encouraged the following website.

Google

Google

Usually posts some really intriguing stuff like this. If you are new to this site.

Fenster und Turen

Fenster und Turen

very couple of websites that come about to be comprehensive below, from our point of view are undoubtedly very well worth checking out

lekar

lekar

Here is an excellent Weblog You may Locate Intriguing that we Encourage You

Youtube to mp3 converter

Youtube to mp3 converter

usually posts some pretty intriguing stuff like this. If youre new to this site

the legend of drizzt books

the legend of drizzt books

Wonderful story, reckoned we could combine some unrelated information, nevertheless truly worth taking a appear, whoa did one particular master about Mid East has got a lot more problerms as well

Google

Google

Every the moment inside a when we pick blogs that we study. Listed below would be the latest websites that we opt for.

satta matka

satta matka

usually posts some quite exciting stuff like this. If you are new to this site

how to create an app

how to create an app

always a massive fan of linking to bloggers that I like but really don’t get a great deal of link like from

como fazer retrospectiva infantil

como fazer retrospectiva infantil

Sites of interest we’ve a link to