Hyper-V Replication Powershell Script

Power Shell Script to show the status of Hyper Replication.   $ReplicatedVMs = Get-VMReplication; If ($ReplicatedVMs.Length -GT 0) { # VMs with replication enabled found # Document VM replication health ForEach ($VM in $ReplicatedVMs) { If (($VM.ReplicationHealth -Eq “Warning”) -Or ($VM.ReplicationHealth -Eq “Critical”)) { # Current VM has replication issues # Add current broken VM’s […]

Read More