In Exchange 2013, it may become necessary to test the Mailbox Replication Service (MRS) against all members of a Database Availability Group (DAG). To do this, we can perform the following script: #We obtain the member servers of the DAG$Servers = ((Get-DatabaseAvailabilityGroup LAB-NAEX15-01).Servers).Name#We perform a 'foreach' against each memberforeach($server in $Servers){ Write-Host -ForegroundColor Green $server.NameTest-MRSHealth -Identity $server…