Forum

Please or Kayıt ol to create posts and topics.

Connect to Exchange Online PowerShell

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential

$UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session -DisableNameChecking