Exchange 2016: Check your Outlook Web Services with simple PowerShell command
In Exchange 2016, there are a couple of cmdlets you can run to check that you servers are in a healthy state. In 1x example, you could run the following command to check the Outlook Web Services:
Test-OutlookWebServices
https://everything-powershell.com/wp-content/uploads/2020/04/image-9.png
If you want to specify a specific server then you can run the command below:
Test-OutlookWebServices -ClientAccessServer ex2016b
https://everything-powershell.com/wp-content/uploads/2020/04/image-10.png
You will notice the ServiceEndpoint changed from the previous screen. In the 1 we have a successful result and the other a failure which will need to be investigated.
The cmdlet allows you to specify a different users credentials using the "MailboxCredential" option in the cmdlet.