PrepAway - Latest Free Exam Questions & Answers

Which cmdlet should you run?

In an isolated test environment, you deploy a server named Server1 that runs a Server Core
Installation of Windows Server 2012 R2. The test environment does not have Active Directory
Domain Services (AD DS) installed.
You install the Active Directory Domain Services server role on Server1.
You need to configure Server1 as a domain controller.
Which cmdlet should you run?

PrepAway - Latest Free Exam Questions & Answers

A.
Install-ADDSDomainController

B.
Install-ADDSDomain

C.
Install-ADDSForest

D.
Install-WindowsFeature

Explanation:
Install-ADDSDomainController – Installs a domain controller in Active Directory.
Install-ADDSDomain – Installs a new Active Directory domain configuration.
Install-ADDSForest – Installs a new Active Directory forest configuration.
Install-WindowsFeature – Installs one or more Windows Server roles, role services, or features on
either the local or a specified remote server that is running Windows Server 2012 R2. This cmdlet is
equivalent to and replaces Add-WindowsFeature, the cmdlet that was used to install roles, role
services, and features.
C:\PS>Install-ADDSForest -DomainName corp.contoso.com -CreateDNSDelegation DomainMode
Win2008 – ForestMode Win 2008 R2 -DatabasePath “d:\NTDS” -SysvolPath “d:\SYSVOL” –LogPath
“e:\Logs”Installs a new forest named corp.contoso.com, creates a DNS delegation in the
contoso.com domain, sets domain functional level to Windows Server 2008 R2 and sets forest
functional level to Windows Server 2008,installs the Active Directory database and SYSVOL on the
D:\ drive, installs the log files on the E:\ drive and has the server automatically restart after AD DS
installation is complete and prompts the user to provide and confirm the Directory Services Restore
Mode (DSRM) password.

9 Comments on “Which cmdlet should you run?

  1. You Go it Wrong says:

    C = Correct

    Install-ADDSDomainController – Install additional domain controller in domain
    Install-ADDSForest – Install first domain controller in new forest

    In this instance you are installing a new instance of AD so you have to install the domain controller new




    0



    0
  2. Read says:

    A = correct please read carefully !

    You install the Active Directory Domain Services server role on Server1.
    You need to configure Server1 as a domain controller. <——-

    ADDSDomainController !!




    0



    0
    1. IAMCorrect says:

      You need to read carefully:
      “The test environment does not have Active Directory Domain Services (AD DS) installed.”
      Since this is the first domain and domain controller in the environment, you must run
      >Install-ADDSForest

      to install the first domain controller in the new forest




      0



      0
  3. Gerard Manvussa says:

    Install-WindowsFeature AD-Domain-Services – To install AD DS
    Install-ADDSForest – To install first DC in new forest
    Install-ADDSDomain – To install first DC in a child or tree domain
    Install-ADDSDomainController – To install additional domain controller in domain




    1



    0

Leave a Reply