Hyper-V Replica

Enable firewall HTTP listener
netsh advfirewall firewall set rule name="Hyper-V Replica HTTP Listener (TCP-In)" new enable=yes

Planned failover

Primary host
$PrimaryVM1 = “Core”
Stop-VM $PrimaryVM1
Start-VMFailover -VMName $PrimaryVM1 –prepare
Secondary host
$ReplicaVM1 = “Core”
Start-VMFailover -VMName $ReplicaVM1
Start-VM $ReplicaVM1
Reverse replication
Set-VMReplication -reverse -VMName $ReplicaVM1