Skip to content

Instantly share code, notes, and snippets.

@ciphertxt
Created May 4, 2016 14:07
Show Gist options
  • Save ciphertxt/cbfa82ca30dd24a3ab5d5062065a9f05 to your computer and use it in GitHub Desktop.
Save ciphertxt/cbfa82ca30dd24a3ab5d5062065a9f05 to your computer and use it in GitHub Desktop.
$cred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment