I have a couple of issues with a reset password script I am working on.
Firstly, I am using a function to verify a users log in after using Get-Credential (Attached as .txt file). The message boxes will display when using ISE but not when the script is run normally.
Secondly I cannot figure out how to create a GUI progress bar for when I import the active directory module (Import-Module ActiveDirectory). To the user it seems as though the script has crashed as there is no feed back on what is happening.
There is plenty of info on write-progress out there but I cannot work out how it relates to this.