Share via


Exchange 2010 and higher: Test-ReplicationHealth (PowerShell)

Here is a quick tip on how you can check the health of your server that is part of a database availability group (DAG).

The command to run is as follows using the Exchange Management Shell (EMS):

  • Test-ReplicationHealth -Identity <ServerName>

Below is the 2010 one:

https://everything-powershell.com/wp-content/uploads/2019/09/image-2.png

and now for the Exchange 2016 one:

https://everything-powershell.com/wp-content/uploads/2019/09/image-3.png

If there is a problem, you will see it listed above. For example if you turn off replication on one of the network adapters, it will highlight the error.