PowerShell GUI script to unlock an Active Directory user’s account

PowerShell GUI script to unlock an Active Directory user’s account. The script will need to be run from a computer which is part of the domain. It needs access to the ActiveDirectory PowerShell module. It will first try to load it locally, if not available it will setup a session to a Domain Controller and will import it from there (This requires that the user running this script needs appropriate rights to do so).

powershell-gui-script-to-unlock-an-active-directory-users-account_001

Changelog

  • 1.0 (2016-01-05) Initial version.
  • 1.1 (2016-12-08) Fixed bug where error handling was not working when using implicit remoting for the ActiveDirectory PowerShell module.

Download

Get the latest version of this script from GitHub.

Leave a Reply

Your email address will not be published. Required fields are marked *