PrepAway - Latest Free Exam Questions & Answers

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.
The domain contains a user named User1 and a globalsecurity 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?

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

13 Comments on “Which cmdlet should you run?

  1. TestUser says:

    Install-ADDSDomain should be correct. You are adding the first domain controller in a new domain so you need to add the domain. Install-ADDSDomainController adds a DC to an existing domain.




    0



    0
  2. han says:

    Senario
    Create a new forest
    Create a new domain on existing forest
    Add a new domain controller

    Step 1:
    Run install-windowsfeature to install ADDS

    Step 2:Choose your route:
    Install-ADDSForest – Creates a new forest.
    Install-ADDSDomain – Creates a new domain in an existing forest.
    Install-ADDSDomainController – Creates a new domain controller in an existing domain.

    ——————
    question asks to create ‘a first domain controller’ in a ‘new domain’.
    I think the route you choose should be the second one, install-addsdomain. Then this will take care of creating a new child domain and promoting the DC2 as a first DC in the new domain.




    0



    0
  3. han says:

    It says, ‘reconfigured as member server’ which means it’s just reconfigured, but didn’t remove ADDS from the previous DC2 state.So it already has ADDS role installed. So you skip step 1 and run install-addsdomain.




    0



    0
  4. Xovos says:

    I thought it is because it is asking for you to install the domain controller in a new domain as a first controller. Therefore, Install-addsdomain is used instead of Instal-addsdomaincontroller would be used after to create more domains within that domain?

    Install-addsdomain




    0



    0
    1. jo says:

      DC2 was made into a member server so the domain controller had to be demoted first. “Reconfigured” refers to DC2 being demoted.

      To demote a DC from AD DS complete the following steps: http://blogs.interfacett.com/how-to-demote-a-domain-controller-dc-in-windows-server-2012-active-directory-domain-services-ad-ds

      After demotion “The Binaries for AD DS are still installed on the server. If this server is not going to be promoted back to a domain controller in the future rerun the Remove Roles and Features Wizard to remove the AD DS Role from the server.”

      “Install-AddsDomain” adds a new domain to an existing forest; we do have AD installed on DC2;
      “Install-windowsfeature -name AD-Domain-Services –IncludeManagementTools” is not needed since the ADDS binaries are already there.




      0



      0
  5. jo says:

    I go with what Han says.
    In order to demote a 2012 dc you apply the “remove adds” procedure but it will ask you to demote de DC first in order to uninstall ADDS. Actually you need to rerun the remove ADDS a second time in order to get rid of the ADDS binaries.




    0



    0
  6. Joe says:

    The Install-ADDSDomainController cmdlet installs a domain controller in Active Directory.

    The Install-ADDSDomain cmdlet installs a new Active Directory domain.

    Also I would like more info on this reconfiguration of DC2…how do we know that doesn’t mean they reinstalled windows on it? – so answer would be C….




    0



    0

Leave a Reply