As well as using Outlook 2007 to test Auto configuration and the Autodiscover/Availability services, for a computer that is running Microsoft Exchange Server 2007 that has the Client Access (CAS) server role installed, a cmdlet called Test-OutlookWebServices can be used to verify the Autodiscover service settings for Outlook Web services.

The Test-OutlookWebServices cmdlet uses a specified e-mail address to verify that the Outlook provider is configured correctly. The cmdlet verifies information for the following services:

  • Availability service
  • Outlook Anywhere (for example, RPC over HTTPS)
  • Offline Address Book
  • Unified Messaging

This code example tests a connection to each service. This example also submits a request to the Availability service for the user to determine whether the user's free/busy information is being returned correctly from the CAS server to the Outlook 2007 client.

[PS] C:\>Test-OutlookWebServices | ft * -AutoSize -Wrap

Id Type Message

-- ---- -------

1003 Information About to test AutoDiscover with the e-mail address

1007 Information Testing server with the published name & .

1019 Information Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is odiscover/Autodiscover.xml.

1018 Information The SSL certificate on is self-signed.

1006 Information Contacted AutoDiscover at

1016 Success [EXCH]-Successfully contacted the AS service at

1015 Success [EXCH]-Successfully contacted the OAB service at

1014 Success [EXCH]-Successfully contacted the UM service at

1006 Success Successfully tested AutoDiscover.