PrepAway - Latest Free Exam Questions & Answers

What Windows PowerShell command should you run?

HOTSPOT
Your network contains one Active Directory forest named contoso.com. The forest contains a single domain. All
domain controllers run Windows Server 2012 R2.
The domain contains an organizational unit (OU) named TemporaryUsers that only contains 50 user accounts
for temporary employees. The users are members of a global group named TempUsers.
The TemporaryUsers OU is configured as shown in the exhibit. (Click the exhibit button.)

You need to delete all of the user accounts of the temporary employees.
What Windows PowerShell command should you run? To answer, select the appropriate options in the answer
area.
Hot Area:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
https://technet.microsoft.com/en-us/library/ee617239.aspx

2 Comments on “What Windows PowerShell command should you run?

  1. tmkreddy55 says:

    -Recursive switch is to remove all the child items under the OU (users/groups/OUs within the OU).

    If “Protect Object from accidental deletion” is set, we need to first reset the attribute, before running Remove-AdOrganizationalUnit cmdlet, which is not the case here.




    1



    0
  2. harry518 says:

    Correct me if I’m wrong, but as I read the question it’s asking to remove the user accounts. Removal of the OU has not been asked for.
    But seems the given answers it’s the only way to do it.




    0



    0

Leave a Reply