PowerTip: List locked-out accounts in Active Directory with PowerShell

Doctor Scripto

Summary: Use Active Directory cmdlets to identify locked-out user accounts and computer accounts.

Hey, Scripting Guy! Question Is there a quick and easy way to find all users who are locked out in Active Directory by using PowerShell?

 

Hey, Scripting Guy! Answer You’ll love this. The answer is just one cmdlet away with the ActiveDirectory module. Just use Search-ADAccount, and you’ll have a complete list on your screen.

The Doctor

0 comments

Discussion is closed.

Feedback usabilla icon