What should you do?

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

Latest 70-742 Dumps Valid Version with 279 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments