CmdID / PowerShell / Cmdlets / Test
Test-ReplicationHealth
Use the Test-ReplicationHealth cmdlet to check all aspects of replication and replay, or to provide status for a specific Mailbox server in a database availability group (DAG). Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the Mailbox server that you want to test.-ActiveDirectoryTimeoutThe ActiveDirectoryTimeout parameter specifies the time interval in seconds that's allowed for each directory service operation before the operation times out.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DatabaseAvailabilityGroupThe DatabaseAvailabilityGroup parameter specifies whether to test all servers in the specified DAG.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-MonitoringContextThe MonitoringContext parameter specifies whether to include the associated monitoring events and performance counters in the results.-OutputObjectsThe OutputObjects switch specifies whether to output an array of information regarding failures.-TransientEventSuppressionWindowThe TransientEventSuppressionWindow parameter specifies the number of minutes that the queue lengths can be exceeded before the queue length tests are considered to have failed.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.