Skip to content

Instantly share code, notes, and snippets.

Created October 20, 2014 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f6e95ba2e57df954f56a to your computer and use it in GitHub Desktop.
Save anonymous/f6e95ba2e57df954f56a to your computer and use it in GitHub Desktop.
$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