Commands › Exchange Online
Test-OutlookWebServices
This cmdlet is functional only in Exchange Server 2010. Use the Test-OutlookWebServices cmdlet to verify the Autodiscover service settings for Microsoft Outlook on a computer running Microsoft Exchange Server 2010 that has the Client Access server role installed.
Quick start script
# Test-OutlookWebServices — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Test-OutlookWebServices -AutoDiscoverServer <ClientAccessServerIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Test-OutlookWebServices | Export-Clixml .\OutlookWebServices-$(Get-Date -Format yyyyMMdd).xml
Syntax — 4 parameter sets
Default
Test-OutlookWebServices [[-Identity] <RecipientIdParameter>]
[-ClientAccessServer <ClientAccessServerIdParameter>]
[-Confirm]
[-DomainController <Fqdn>]
[-MonitoringContext <Boolean>]
[-TargetAddress <RecipientIdParameter[]>]
[-WhatIf]
[<CommonParameters>]
AutoDiscoverServer
Test-OutlookWebServices [[-Identity] <MailboxIdParameter>] -AutoDiscoverServer <ClientAccessServerIdParameter>
[-Confirm]
[-MailboxCredential <PSCredential>]
[-TrustAnySSLCertificate]
[-WhatIf]
[<CommonParameters>]
ClientAccessServer
Test-OutlookWebServices [[-Identity] <MailboxIdParameter>] [-ClientAccessServer <ClientAccessServerIdParameter>]
[-Confirm]
[-MailboxCredential <PSCredential>]
[-TrustAnySSLCertificate]
[-WhatIf]
[<CommonParameters>]
MonitoringContext
Test-OutlookWebServices [[-Identity] <MailboxIdParameter>] [-MonitoringContext]
[-Confirm]
[-MailboxCredential <PSCredential>]
[-TrustAnySSLCertificate]
[-WhatIf]
[<CommonParameters>]
Parameters (10)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.