Connettersi tramite PowerShell a Office365:

  • $UserCredential = Get-Credential

  • $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

  • Import-PSSession $Session

Verificare gli attuali permessi:

  • Get-Mailbox NomeUtente

Rimuovere i devices sincronizzati:

  • Get-ActiveSyncDevice -Mailbox "indirizzo.email@dominio.com" | Remove-ActiveSyncDevice

Chudere la sessione:

  • Remove-PSSession $Session