Windows for some reason does not allow user to copy/paste password when using their interface to change password.
However when you rely on password managers it can be somewhat frustrating to input longer password, so you tend to cheap out.
This script tries to fix Windows shortcomings and actually provide users with the freedom to change password in a secure way.
Usage:
Here the script will default to logged in user
.\change-password.ps1
About to change password for DOMAIN\joseph petersen
Provide old password: *********
Provide new password: ******************************
Successfully changed password
You can also provide another username
.\change-password.ps1 a-jpt
About to change password for DOMAIN\a-jpt
Provide old password: ************
Provide new password: ******************************
Successfully changed password