Sylver SCHORGEN Blog's

Articles, astuces et news sur les technologies Microsoft et plus particulièrement tournant autour de Powershell

[POWERSHELL] Connect to Exchange Online

You'll find bellow the 3 PowerShell lines necessary to connect to Exchange Online :

$Credentials = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Credentials -Authentication Basic -AllowRedirection
Import-PSSession $Session
The first line will result by prompting you for an Office 365 login and password.
Facebook Like