365 Useful Commands for Powershell Administration

Add Permissions $LiveCred = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirectionImport-PSSession $Session//Add to OutlookUserA to BAdd-MailboxPermission -identity [email protected] -user [email protected] -AccessRights FullAccess //Don’t add to OutlookAdd-MailboxPermission […]