PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell command should you run?

DRAG DROP
Your network contains an Active Directory domain named contoso.com. The domain contains a server named
Server1. Server1 runs Windows Server 2012 R2 and is configured as the only domain controller.
You need to retrieve a list of all the user accounts. The list must include the last time each user was
authenticated successfully.
Which Windows PowerShell command should you run?
To answer, drag the appropriate cmdlet or property to the correct locations to complete the PowerShell
command in the answer area. Each cmdlet or property may be used once, more than once, or not at all. You
may need to drag the split bar between panes or scroll to view content.
Select and Place:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
The Get-ADUsercmdlet gets a user object or performs a search to retrieve multiple user objects.
lastLogondate is the correct parameter as the questions asks for the last time each user was authenticated
successfully.


Leave a Reply