To check if the user’s ActiveSync is enabled

By

  • Set-ExecutionPolicy RemoteSigned
  • $UserCredential = Get-Credential
  • $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
  • Import-PSSession $Session -DisableNameChecking
  • Remove-PSSession $Session
  • Get-CASMailbox UPN

Leave a Reply

Discover more from home

Subscribe now to keep reading and get access to the full archive.

Continue reading