Search for All Active Directory Accounts that are disabled
This only works on 2008 R2 as it has built in Active Directory PowerShell.When the Search-ADAccount command runs, the output appears that is shown in the following image.Search-ADAccount -AccountDisabled -UsersOnly | Format-Table name, sid -AutoSize
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.