Ejecute el siguiente comando para agregar el usuario jmichels a la política Security01

Set-CASMailbox jmichels -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy Security01).Identity

Ejecute el siguiente comando para agregar todos los usuarios a una política de Exchange ActiveSync

Get-Mailbox | where { $_.CustomAttribute1 -match “Manager”

} | Set-CASMailbox -activesyncmailboxpolicy(Get-ActiveSyncMailboxPolicy Security01).Identity

En este ejemplo se agregan a la política todos los usuarios cuyo atributo personalizado N°1 es “Manager”. Si se remueve el comando where { } se aplicaría a todos los usuarios de la organización.