≡ Menu

Powershell tip: Unlock a active directory account

With powershell, it is very easy to unlock a active directory user account. It is as easy as executing below command.

Unlock-qaduser myuser1

Only thing is, you need to have Quest Powershell cmdlets for active directory installed in your computer.

Similarly you can perform some more quick actions with Quest active directory cmdlets

Query all disabled accounts:

Get-QADuser -disabled

Query all locked accounts:

Get-QADUser -locked

Hope this helps…