Wednesday, October 21, 2015

Powershell command to check DAGHealth

Powershell command to check DAGHealth

(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Get-MailboxDatabaseCopyStatus -Server $_}}

(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Test-ReplicationHealth -Server $_}}


No comments:

Post a Comment