CollectReplicationMetrics collects data from performance counters related to database replication. The script gathers counter ...

CollectReplicationMetrics collects data from performance counters related to database replication.  The script gathers counter data from multiple mailbox servers, writes each server's data into a CSV file, and can then report various statistics across all of this data, such as the amount of time that each copy was failed or suspended, the average copy or replay queue length, or the amount of time that copies were outside of their failover criteria.