Inside Office 365
http://blog.insidelync.com/2011/09/handy-powershell-administration-script-for-office-365-2/