Skip to content

Instantly share code, notes, and snippets.

@alexverboon
Created July 15, 2019 10:28
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 alexverboon/2cf46a7e6dbf5f381e25aad71d97b433 to your computer and use it in GitHub Desktop.
Save alexverboon/2cf46a7e6dbf5f381e25aad71d97b433 to your computer and use it in GitHub Desktop.
Connect to Exchange Online with MFA
# connect to EXO with MFA
$CreateEXOPSSession = (Get-ChildItem -Path $env:userprofile -Filter CreateExoPSSession.ps1 -Recurse -ErrorAction SilentlyContinue -Force | Select -Last 1).DirectoryName
. "$CreateEXOPSSession\CreateExoPSSession.ps1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment