Created
March 30, 2022 12:01
-
-
Save MDtThomas/c7bfba9e5ec4349af7cea0fbee4a1a9d to your computer and use it in GitHub Desktop.
[ActiveDirectory-Users]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Search-ADAccount -LockedOut | Sort-Object -Property LastLogonDate | Format-Table Name,SamAccountName,LastLogonDate,LockedOut |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment