Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Overview of this book

Table of Contents (21 chapters)
Microsoft Exchange Server PowerShell Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Managing the Outlook Anywhere settings


With the new CAS architecture in place, Outlook Anywhere needs to be configured if Outlook is going to be used to access mailboxes and features. This feature allows Outlook clients to connect to Exchange through RPCs encapsulated into an HTTPS connection. This allows easy internal and 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...

By default, the Outlook Anywhere feature is enabled, but it needs to be configured with the correct hostname and authentication values. This is done using the Set-OutlookAnywhere cmdlet. See the following example:

Set-OutlookAnywhere –Identity 'CAS1\Rpc (Default Web Site)' `
-ExternalHostname mail.contoso.com `
-ExternalClientRequireSsl $true `
-InternalHostname mail.contoso.com `
-InternalClientRequireSsl $true `
-ExternalClientAuthenticationMethod...