Skip to content

Instantly share code, notes, and snippets.

@AsishP
Created December 19, 2018 09:09
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 AsishP/d83f86f2b9faa92710cdbc323303539b to your computer and use it in GitHub Desktop.
Save AsishP/d83f86f2b9faa92710cdbc323303539b to your computer and use it in GitHub Desktop.
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Credential -Authentication Basic -AllowRedirection
Import-PSSession $Session -AllowClobber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment