Configuring the CAS server used by RPC clients

RPC clients such as Outlook 2003, 2007, and 2010 use CAS servers as their MAPI endpoint for mailbox access in Exchange 2010. In this recipe, you will learn how to control which CAS server or CAS array will be used as the MAPI endpoint by configuring the properties of the user's mailbox database using the Exchange Management Shell.

How to do it...

To configure the CAS server that should be used by RPC clients, set the RPCClientAccessServer property of the user's mailbox database. For example:

Set-MailboxDatabase -Identity DB1 `
-RpcClientAccessServer outlook.contoso.com

After running the previous command, any user with a mailbox in the DB1 database will use outlook.contoso.com for RPC connections.

How it ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.