Applies to: Exchange Server 2013
Topic Last Modified: 2012-09-17
Use the Test-OutlookWebServices cmdlet to verify the Autodiscover service settings for Microsoft Outlook on a computer running Microsoft Exchange Server 2013.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
Test-OutlookWebServices -MonitoringContext
<SwitchParameter> <COMMON PARAMETERS>
|
Test-OutlookWebServices [-ClientAccessServer
<ClientAccessServerIdParameter>] <COMMON
PARAMETERS>
|
Test-OutlookWebServices -AutoDiscoverServer
<ClientAccessServerIdParameter> <COMMON
PARAMETERS>
|
COMMON PARAMETERS: [-Confirm [<SwitchParameter>]]
[-Identity <MailboxIdParameter>] [-MailboxCredential
<PSCredential>] [-TrustAnySSLCertificate
<SwitchParameter>] [-WhatIf [<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example verifies the service information that's returned to the Outlook client from the Autodiscover service for the user holly@contoso.com. The code example verifies information for the following services:
- Availability service
- Outlook Anywhere
- Offline address book
- Unified Messaging
This example tests for a connection to each service. This example also submits a request to the Availability service for the user holly@contoso.com to determine whether the user's free/busy information is being returned correctly from the Client Access server to the Outlook client.
Copy Code | |
---|---|
Test-OutlookWebServices -Identity:holly@contoso.com |
Detailed Description
The Test-OutlookWebServices cmdlet uses a specified email address to verify that the Outlook provider is configured correctly.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Test Outlook Web Services" entry in the Clients and Mobile Devices Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
AutoDiscoverServer |
Required |
Microsoft.Exchange.Configuration.Tasks.ClientAccessServerIdParameter |
The AutoDiscoverServer parameter specifies the server to use to test Autodiscover connectivity. |
MonitoringContext |
Required |
System.Management.Automation.SwitchParameter |
The MonitoringContext switch includes the associated monitoring events and performance counters in the results. You don't need to specify a value with this switch. Typically, you include the monitoring events and performance counters in the results when the output is passed to Microsoft System Center Operations Manager 2007 or System Center 2012 - Operations Manager. |
ClientAccessServer |
Optional |
Microsoft.Exchange.Configuration.Tasks.ClientAccessServerIdParameter |
The ClientAccessServer parameter specifies the Client Access server that the client accesses. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch. |
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter |
The Identity parameter specifies any valid email address in the forest. If you specify this parameter, incorrectly formed email addresses and addresses that are outside the forest are rejected. This address is used to test the Outlook provider. This property accepts the domain and user name in the domain\user name format or an Active Directory GUID and resolves them to the SMTP address that's needed to authenticate. |
MailboxCredential |
Optional |
System.Management.Automation.PSCredential |
The MailboxCredential parameter specifies the mailbox credential to use for the test. |
TrustAnySSLCertificate |
Optional |
System.Management.Automation.SwitchParameter |
The TrustAnySSLCertificate parameter allows you to trust self-signed Secure Sockets Layer (SSL) certificates. |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.