====== Hyper-V Replica ====== netsh advfirewall firewall set rule name="Hyper-V Replica HTTP Listener (TCP-In)" new enable=yes Planned failover $PrimaryVM1 = “Core” Stop-VM $PrimaryVM1 Start-VMFailover -VMName $PrimaryVM1 –prepare $ReplicaVM1 = “Core” Start-VMFailover -VMName $ReplicaVM1 Start-VM $ReplicaVM1 Set-VMReplication -reverse -VMName $ReplicaVM1