PowerShell ยป Test-WebServicesConnectivity

Test-Monitor Web Service Connectivity Issues Using PowerShell

Exchange Online Reports

cmdlet: Test-WebServicesConnectivity

Description: Use this cmdlet to test the connectivity to Exchange Web Services virtual directory. This cmdlet works for Exchange server 2010. For Exchange 2013 or later, please use Get-serverhealth cmdlet.

  1. Test-WebServicesConnectivity
  2.  [[-ClientAccessServer]<ServerIdParameter>]
  3.  [-AllowUnsecureAccess]
  4.  [-Confirm]
  5.  [-DomainController<Fqdn>]
  6.  [-LightMode]
  7.  [-MailboxCredential<PSCredential>]
  8.  [-MailboxServer<ServerIdParameter>]
  9.  [-ResetTestAccountCredentials]
  10.  [-Timeout<UInt32>]
  11.  [-TrustAnySSLCertificate]
  12.  [-UseAutodiscoverForClientAccessServer]
  13.  [-WhatIf]
  14.  [<CommonParameters>]

When you use this cmdlet for the first time, you need a test user. Create a test user, using this command:

1 & $env:ExchangeInstallPath\Scripts\New-TestCasConnectivityUser.ps1

Results returned by the cmdlet include:

  1. Source: Name of the source server.
  2. ServiceEndpoint: Name of the destination server.
  3. Scenario: Details of the operations that are tested. Values are Autodiscover: SOAP, Provider and EWS: GetFolder (full mode) or EWS: ConvertID (light mode).
  4. Result: Success or *FAILURE*.
  5. Latency(MS): The time taken, in milliseconds, to complete the test

Why Exchange Reporter Plus is a better option.

Exchange Reporter Plus is a reporting and change auditing tool for MS Exchange server, Exchange Online, and Skype for Business. Its built-in reports are generated in a single click and are easy to customize with the advanced filters provided by the tool. The monitoring reports provide near real -time data which does not require one to proficient in scripting.

Steps to generate Web Service Connectivity report in Exchange Reporter Plus:

  1. Go to the Monitoring tab.
  2. Navigate to Server Monitoring > Web Service Connectivity in the left pane.
  3. Enter the Period for which the data must be shown.
  4. Select the view of the report. (Summary, default or custom view).

steps-to-generate-web-service-connectivity

Advantages of using Exchange Reporter Plus

  • Reports scheduler:  Reports can be scheduled to be generated at regular intervals to reduce the overhead of generating reports manually.
  • Report export: The reports can be exported to PDF, XLS, HTML, or CSV formats and emailed to the administrator.
  • Advanced filters:  Use attribute-based filters to get the data you need without lengthy PowerShell scripts.
  • Secure delegation: Securely delegate the task of report generation to technicians and IT staff without giving them admin access.

Read more about the Exchange Reporter Plus, here.

Office 365 Security Reports Office 365 Health Monitoring Exchange Audit Logs Skype for Business Reports