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.
The domain contains a user named User1 and a globalsecurity group named Group1.
You need to add a new domain controller to the domain.
You install Windows Server 2012 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

29 Comments on “Which cmdlet should you run next?

    1. Gilbert is hungry. says:

      First C and after B

      First: Install-WindowsFeature ad-domain-services

      Without it Windows Server 2012 R2 does not know the cmdlet install-addsdomaincontroller




      0



      0
  1. I found another explanation on B:

    The Install-ADDSDomainController cmdlet installs a domain controller in Active Directory.
    Example: C:\PS>Install-ADDSDomainController -InstallDns -Credential (Get-Credential CORP\Administrator) –
    DomainName “corp.contoso.com”




    0



    0
  2. Fausto says:

    There is no such command as “Install WindowsFeature or Install AddsDomain” instead the command should be Install-WindowsFeature or Install-AddsDomain. Is this question tricking the user because if this is not a typo, answer B or C will be false. Given the door open for answer B. This is just a thought, I see everyone leaning one way or the other but wouldn’t the command line syntax matter to be correctly entered. I believe entering the command as they are on this answer will give you an error message for answer C or D. Does the spelling matter in these tests?
    what is the correct answer based on this analogy, B or C?
    I leaning more on B than C based on the command line spelling.




    0



    0
    1. semiproslacker1 says:

      I have never seen a Microsoft exam where they try to trick you with spelling errors. I have to believe that these are just grammatical errors on whomever wrote this. That being said, It is C. You have to install the AD DS before you can make the Server a DC.

      https://www.microsoftpressstore.com/articles/article.aspx?p=2216997&seqNum=4

      Preparing for deploying domain controllers in an existing forest

      You can also deploy Windows Server 2012 or Windows Server 2012 R2 domain controllers in a forest whose domain controllers are running an earlier version of Windows Server by using Windows PowerShell as follows:

      Install Windows Server 2012 or Windows Server 2012 R2 on a server and join the server to an existing domain.
      Use the Install-WindowsFeature cmdlet to install the AD DS role with its role-management tools as follows:

      Install-WindowsFeature -name AD-Domain-Services –IncludeManagementTools
      Run commands from the ADDSDeployment module on the server to remotely install AD DS on other domain-joined servers running Windows Server 2012 or Windows Server 2012 R2.




      0



      0
  3. Mafkan says:

    Correct Answer should be C, as already said this would be the second step after installing.

    @DougEFresh: Question 79 is differnt from this one. Because in 79 you create a new domain in the forest.

    You must read the Questions carefully, Microsoft tries to make it a bit harder with small changes in the Question but with same Answerpool.

    I don´t think that Microsoft care here about the spelling. I had some cmdlet questions with spelling at the Exchange certs and there you see it if you must find the correct spelling.




    0



    0
  4. sne says:

    Correct answer should be C

    Before you can even run the Install-AddsDomainController command, you need to install the active directory domain services first via “roles and features”, basically provide the binaries.

    This is done using the “Install WindowsFeature” command.

    So steps are:
    – install server 2012
    – install ADDS in roles and features
    – promote the server to a domaincontroller using install-addsdomaincontroller




    0



    0
  5. Jozy says:

    Yes
    Correct answer should be C

    So steps are:
    – install server 2012
    – install ADDS in roles and features
    – promote the server to a domaincontroller using install-addsdomaincontroller




    0



    0
  6. Posey says:

    Answer is B

    You can use the Install-ADDSDomainController cmdlet to install an additional domain controller in an existing domain. For example, the following command installs and promotes a new domain controller and DNS server in the corp.adatum.com domain using domain administrator credentials:

    Install-ADDSDomainController -InstallDns -Credential `
    (Get-Credential CORP\Administrator) -DomainName corp.adatum.com




    0



    0
  7. Simon says:

    The answer is most definitely C – Install-WindowsFeature

    It is impossible to run Install-ADDSDomainController to promote it to a DC when you have none of the required roles to make it a DC!

    The question requests you to create a new Domain Controller and states “You install Windows Server 2012 on a new server named DC3” This therefore implies that it is a new server installation and nothing is present in order to promote it.

    The first step will be to run install-windows feature to get Active Directory installed. Then once everything has been prepared you will run Install-ADDSDomainController.

    If you look through this link it explains the required steps required to promote server using Server Core. Its a very good explanation of this process:

    http://www.brandonlawson.com/active-directory/installing-a-2012-domain-controller-with-powershell/




    0



    0
  8. jo says:

    Answer is C.
    “Install-AddsDomain” adds a new domain to an existing forest; we need AD installed on DC3 in order to promote DC3 to a DC
    “Install-windowsfeature -name AD-Domain-Services –IncludeManagementTools” is needed since we don’t have the ADDS binaries.




    0



    0
  9. Daniel says:

    Actually, the correct syntax would be : add-windowsfeature NOT install-windowsfeature to first install adds. After that it would be Install-AddsDomainController.

    So the correct answer should be B – Install-AddsDomainController, since it add-windowsfeature isnt listed?




    0



    0
  10. Ralph says:

    I am torn. If I see it like this on the exam I am going to choose C. But if the command for B has the – like install-WindowsFeature I will choose B. You can’t run (as in the command is not available) Install-AddsDomainController until the ADDS feature has been installed. SO from a fresh server 2012 install the correct way would be install-windows feature then Install-AddsDomainController




    0



    0
  11. JoeTech says:

    I did see this on a test. Took a online proctored exam and my webcam froze so they stopped the test. Not before I took out my cell and recorded most of the questions. On the exam Install-WindowsFeature is how the answer was written. None of the possible Verb-Noun word answers were missing the -. Sucked I had almost every question that I had seen on dumps and was 1 question away from finishing. Pearson Vue sucks




    0



    0
  12. james says:

    correct answer is C

    the first thing you need to do is to install AD .C. [ install-WindowsFeature AD-Domain-Services ]
    and then you need to install a domain controller to existing Domain .B. [ Install-ADDSDomainController ]

    i think this is the right answer




    0



    0

Leave a Reply