PowerTip: Use PowerShell to Find Disabled User Accounts

Doctor Scripto

Summary: Use Windows PowerShell to easily find disabled user accounts in Active Directory.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find disabled user accounts in Active Directory?

Hey, Scripting Guy! Answer Use the Search-ADAccount cmdlet from the Active Directory module:

Search-ADAccount -AccountDisabled

 

0 comments

Discussion is closed.

Feedback usabilla icon