Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 works...

When creating a mailbox database, the RpcClientAccessServer property of the database will automatically be set to a CAS server in the same Active Directory site as the mailbox server hosting the database. This is true only if a CAS array has...