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
Exchange 2016:- check your outlook web services with a simple command in powershell.

If you want to specify a specific server then you can run the command below:

  • Test-OutlookWebServices -ClientAccessServer ex2016b
Exchange 2016:- check your outlook web services with a simple command in powershell.

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.

Hope it helpe.

    wpChatIcon

    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading