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

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.