Skip to content

Instantly share code, notes, and snippets.

Created October 20, 2014 02:08
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/?proxyMethod=RPS -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment