Exchange – Useful Powershell Commands

Here is some useful Powershell Commands for reports: Connect to Office 365 / Exchange Online Open the Windows PowerShell as Administrator Execute the following command $LiveCred = Get-Credential and enter the admin credentials in the popup dialog. Execute the following commands: $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic Læs mere…