/ADUnlockPSBot

Little script in Powershell to unlock Active Directory accounts from Telegram Messenger

Primary LanguagePowerShell

ADUnlockPSBot

Little script in Powershell to unlock Active Directory accounts from Telegram Messenger

Pre-requisites

First you need to use Powershell 6 or greater.

To install the bot, execute on a Powershell window: install-module -Name "PoshGram"

You can check the repository of the bot here: https://github.com/techthoughts2/PoshGram

It is used to send messages to the user by Telegram Messenger.

You need to create a Telegram Bot using @BotFather

After that, change the Chat_id array and set the bot token variable.

Important: you need to execute Powershell as an admin to unlock AD accounts.