Connect to Exchange Online

This script establishes a connection to Exchange Online.

$UserCredential = Get-Credential
Connect-ExchangeOnline -Credential $UserCredential