Below is a quick script to quickly change a users password in Office 365 using PowerShell. ┬áThe script will prompt you to connect to Office 365. You will then need to enter the users UPN and new password. It will also ensure they do not need to change the password on first log in. This can however be changed by chaging the “-ForceChangePassword” parameter to “$true”

I have included a download link at the bottom of the post.

Download here

Share