Connecting PowerShell to Office 365

On your local computer, open Windows PowerShell and run the following command. $UserCredential = Get-Credential In the Windows PowerShell Credential Request dialog box, type your Exchange Online user name and password, and …