Creating a GUI based PowerShell script using XAML and Visual Studio to unlock AD Users from scratch

preview_player
Показать описание
In this video, I'll be creating from scratch a script that launches as a GUI with fillable fields to unlock users in AD. We utilize a checkbox, combobox, and output text to get the job done. Check out the completed script here.

The xaml starter template can be found in the description from my video GUI building, method 2.
Рекомендации по теме
Комментарии
Автор

Thank you! So far easiest way for me to create GUI for PS-Scripts.

hkp
Автор

Thank you very much Sir!! This is really useful and a great tutorial. I know you mentioned that in order for the script to work\function at is should, the Active Directory module needs to be imported. I am having an issue where it does not list\find any locked out user accounts but I know that there are on my test DC environment. I have added the "Import-Module ActiveDirectory" to the script as well, but still returns with nothing.

calebsmith