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

Managing Outlook Anywhere settings


With the release of Exchange 2007 and continuing with Exchange 2010, Microsoft has renamed the RPC over HTTP feature to Outlook Anywhere. This feature allows Outlook clients to connect to Exchange through RPCs encapsulated into an HTTPS connection. This allows easy external access to Exchange from Outlook, as there is no need to open RPC ports on firewalls. In this recipe, we'll take a look at how you can use the Exchange Management Shell to manage Outlook Anywhere settings.

How to do it...

To enable Outlook Anywhere, use the Enable-OutlookAnywhere cmdlet as shown in the following example:

Enable-OutlookAnywhere -Server cas1 `
-ExternalHostname mail.contoso.com `
-ClientAuthenticationMethod Basic `
-SSLOffloading $false

In this example, Outlook Anywhere is enabled on the CAS1 server.

How it works...

Before enabling Outlook Anywhere, there are two prerequisites that need to be met. First, you need to ensure that your CAS server has a valid SSL certificate installed...