Please see the new improved way …..>>> https://ryanmangansitblog.wordpress.com/2013/07/05/login-script-for-office-365-powershell/
Just a quick post on how to connect to Office365 Microsoft Exchange online:
Download and install PowerShell for office 365
Windows Azure Active Directory Module for Windows PowerShell (64-bit version)
Windows Azure Active Directory Module for Windows PowerShell (32-bit version)
Open Azure PowerShell:
$Cred = Get-Credential
Import-Module MSOnline Set-ExecutionPolicy remotesigned Connect-MsolService -Credential $cred $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Once finished with the session you can disconnect using the following:
Remove-PSSession $Session
Thanks,
Can you tell what are mail box related cmdlet available for O365 ?
Which cmdlet’s are you after…. have a look at http://help.outlook.com/140/dd575549.aspx
Why is this needed when you can simply use the following to access O365?
connect-MsolService