14/07/2018

Office 365 PowerShell Commands

Connect to office 365 powershell Connect with basic authentication: $Cred = Get-Credential youradminemail $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic –AllowRedirection Import-PSSession […]