Wednesday, 18 March 2015

Configuring Exchange Server 2007 to Disable Acess from Outllook in Cached Mode

We can use the Exchange Management Shell to set whether Microsoft Outlook can be used in online mode or only in cached mode. The parameter is called MAPIBlockOutlookNonCachedMode, and gets a default value of False.
In order to disable a user (for example mike) from connecting to her mailbox in online mode, the following command needs to be run:
Set-CASMailbox -identity "mike" -MAPIBlockOutlookNonCachedMode:$True

To disable this for multiple users, you can first get all the mailboxes for which you want to disable the feature, and pipe that to Set-CASMailbox and set the value of MAPIBlockOutlookNonCachedMode to True.
In the following example, all mailboxes located in the database called "Sales" won't be able to connect using online mode.
Get-Mailbox -Database "Ex2007\SG_Sales\Sales" | Set-CASMailbox -MAPIBlockOutlookNonCachedMode:$True

No comments:

Post a Comment