Summary: Easily find disabled user accounts in Active Directory Domain Services (AD DS) by using Windows PowerShell.
How can I easily use Windows PowerShell to find disabled user accounts?
Use the Search-ADAccount cmdlet from the Active Directory module in the RSAT tools, and specify the AccountDisabled and UsersOnly switches:
Search-ADAccount -AccountDisabled -UsersOnly
0 comments