Blocking Online Mode Outlook Connections In Exchange 2007…
A question that comes up in various forums is to find a way to block all “online mode” outlook connections in the network. As we all know, Outlook can work in online and cached mode. Online mode puts more load on the exchange server. It isn’t that significant if you are a small company. But…
A question that comes up in various forums is to find a way to block all “online mode” outlook connections in the network. As we all know, Outlook can work in online and cached mode. Online mode puts more load on the exchange server. It isn’t that significant if you are a small company. But with higher number of concurrent mailbox sessions, the server performance will be affected for sure.
The ideal solution is to force everyone to use Outlook in cached mode by blocking the online mode altogether. With Powershell, the task is very easy. Run
Get-CASMailbox –Resultsize Unlimited | Set-CASMailbox –MAPIBlockOutlookNonCachedMode $true
We use –Resultsize as only 1000 items are returned by default. It won’t do any harm even if you use it in a network with less than 1000 users.
If you want to use the online mode for yourself, you can always run the same command to change the setting. For example, if I want my account to be able to use the online mode, I would run
Set-CASMailbox –identity “Rajith” – MAPIBlockOutlookNonCachedMode $false
Would this setting Set-CASMailbox –identity “Rajith” – MAPIBlockOutlookNonCachedMode $false
meen that the mailbox will not cache at all?
As this is what im looking to find out is there a powershell command that can stop a mailbox from caching.
Hi Marc,
The command Set-CASMailbox –identity “Rajith” – MAPIBlockOutlookNonCachedMode $false means that you are not blocking outlook online mode.
You can use group policy to block cached mode, check http://technet.microsoft.com/en-us/library/cc179175.aspx#ConfigureCEMGP