What should you do?

Posted by: Pdfprep Category: 70-742 Tags: , ,

Your network contains an Active Directory forest named contoso.com

Your company plans to hire 500 temporary employees for a project that will last 90 days.

You create a new user account for each employee. An organizational unit (OU) named Temp contains the user accounts for the employees.

You need to prevent the new users from accessing any of the resources in the domain after 90 days.

What should you do?
A . Run the Get-ADUser cmdlet and pipe the output to the Set-ADUser cmdlet.
B . Create a group that contains all of the users in the Temp O
C . Create a Password Setting object (PSO) for the new group.
D . Create a Group Policy object (GPO) and link the GPO to the Temp O
E . Modify the Password Policy settings of the GP
G . Run the GET-ADOrganizationalUnit cmdlet and pipe the output to the Set-Date cmdlet.

Answer: A

Explanation: References: https://docs.microsoft.com/en-us/powershell/module/addsadministration/set­adaccountexpiration?view=win10-ps

Leave a Reply

Your email address will not be published.