$a = Get-MobileDevice -Mailbox max.mustermann@contoso.com
In meinem Beispiel war es dann das dritte Element, dessen DeviceAccessState auf "Quarantined" stand:
Set-CASMailbox -Identity max.mustermann@contoso.com -ActiveSyncAllowedDeviceIDs @{add=$a[2].DeviceId}
{{tag>[Powershell Exchange Mobile_Device Smartphone Quarantäne EAS ActiveSync]}}