Tuesday 10 September 2013

Check Hyper-V replica status across the cluster

If you would like to check the replication status of all the VMs across your cluster you can use this PwerShell command.

get-clusternode | ForEach-Object  {Invoke-command -computername $_.name -scriptblock {get-VMReplication}} | ft name, State, Health, PrimaryServer