Exchange 2010: Enable or disable mailbox features for all mailboxes

The following command can be used to activate the mailbox features ActiveSync, Outlook Web App and Outlook Anywhere for all users:

get-mailbox -resultsize Unlimited | Set-CASMailbox -OWAEnabled $false -ActiveSyncEnabled $false -MAPIBlockOutlookRpcHttp $true

To reactivate the mailbox features for all users, the following command is sufficient:

get-mailbox -resultsize Unlimited | Set-CASMailbox -OWAEnabled $true -ActiveSyncEnabled $true -MAPIBlockOutlookRpcHttp $false

Mailbox features

Leave a Comment