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:
http://onlinehelp.microsoft.com/en-us/Office365-enterprises/hh124998.aspx

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.

http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2010/02/22/psterminalservices-powershell-module-for-terminal-services.aspx?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Feed%3A+ShayLevy+%28Shay+Levy++-+%24cript+Fanatic%29