Forum Discussion
bikhod
Apr 16, 2020Copper Contributor
How to determine if a local account is locked?
Hi, Within minutes of searching, I was able to find the script below which determines if an Active Directory account is locked: Get-ADUser myaccount -Properties LockedOut | Select -Object Loc...
TechThatworks
Mar 22, 2022Copper Contributor
Hi
I know this post is kind of old, but maybe people finding this post are still looking for a solution. I believe this is the most simple command to find locked accounts in Active directory:
Search-ADAccount –LockedOut
I know this post is kind of old, but maybe people finding this post are still looking for a solution. I believe this is the most simple command to find locked accounts in Active directory:
Search-ADAccount –LockedOut