Unlocking Locked Out accounts using PowerShell (not with Quest AD cmdlets)

Posted by Jonny on Stack Overflow See other posts from Stack Overflow or by Jonny
Published on 2010-04-06T13:39:49Z Indexed on 2010/04/06 13:43 UTC
Read the original article Hit count: 392

I'm writing a GUI tool using PowerShell that is able to do most AD related tasks with just a user name and button click. I've done all the usual ones (Create / Remove Users, Create / Remove Security & Distribution Groups, Resetting Passwords, etc) but can't find away of unlocking a "Locked Out" account.

I'm trying to do this without using Quest AD cmdlets as I want a more stand alone solution. So I'm wondering whether is possible with plain PowerShell (1.0 or 2.0) in a Windows 2003 Domain.

Many thanks.

© Stack Overflow or respective owner

Related posts about powershell

Related posts about active-directory