Microsoft Office 365 – How-to Reset All User Passwords

Obviously this isn’t something that you would do a lot, but in case you need to know how, here’s how you can reset all user passwords in a Microsoft Office 365 environment:

Help on accessing Office 365 powershell:

Once your connected run the following commands:
Import-Module msonline

Connect-MsolService -cred $cred

Get-Command -Module msonline

Get-msoluser |set-msoluserpassword -newpassword “password” -forcechangepassword $false

That’s it! 🙂

Powershell module for Terminal Services

The more Powershell modules that are created the more powerful Powershell becomes…I love Powershell.  Add these cmdlets to your arsenal.