PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Add-AdPrincipalGroupMembership

B.
Install-AddsDomainController

C.
Install WindowsFeature

D.
Install AddsDomain

E.
Rename-AdObject

F.
Set-AdAccountControl

G.
Set-AdGroup

H.
Set-User

21 Comments on “Which cmdlet should you run next?

  1. Monu says:

    Install-ADDSDomainController is to be used for installing a domain controller in an existing domain. I thought this to be the answer as assumed that the ADDS is installed but on reading the question again slowly I figured out that the ADDS role isn’t installed hence the install-windowsfeature command needs to be run first.




    0



    0
    1. Pirulo says:

      The ADDS is installed, because there is already a domain there, so you do not need to install this role to promote the new server to DC.
      You only need to run Install-AddsDomainController on that machine.

      Tested it on an existing Forest/Domain with -whatif option and it works (installs a Domain controller).

      So answer should be B




      0



      0
        1. Gilbert is hungry. says:

          Answer C is correct.

          First: Install-WindowsFeature ad-domain-services

          Without it Windows does not have the cmdlet “Install-addsdomaincontroller”




          0



          0
  2. Anon says:

    When I tested this in my lab I needed to run Install-WindowsFeature to install the AS DS feature on the new server before I could use Install-AddsDomainController to make it a domain controller on my existing domain. Before running Install-WindowsFeature I got an error when I tried to run Install-AddsDomainController.

    The answer is C.




    0



    0
  3. Luis says:

    Theres is a Domain but it is not in the new server. ADDS is not installed because it is a clean installation that´s why the correct answer is C. You have to do some work before adding a new domain cotroller.




    0



    0
  4. lucasdrums says:

    If we read it slowly the correct answer is C. DC3 is the new server without anything installed in it, just plain Windows 2012 server. Kind of a tricky question, they put stuff like the User1 comment, which has nothing to do with installing a new Domain Controller in the domain. Regards




    0



    0
  5. simo says:

    Correct answer is: C

    Keep in mind is a new server, nothing is installed

    The steps are:

    1- Add-WindowsFeature AD-Domain-Services
    2- Install-ADDSDomainController -CreateDnsDelegation:$false -DatabasePath ‘C:\Windows\NTDS’ -DomainName ‘contoso.com’

    For the second step, they are other parameters to define.

    Note:
    The other way to think about the answer, is think the GUI way: install ADDS on the server and promote it.

    Hope it helps




    0



    0

Leave a Reply