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 […]
Articles Tagged: replication
Windows Server 2016 Hyper-V VM Replication
Setting up Hyper-V replication allows you to replicate a virtual machine from one Hyper-V environment over to another. The nice things about replication in the Microsoft Hyper-V hypervisor world is that there is no appliance to have to setup or other plugin you have to have to make this work. It is included in the box. Let’s […]