Latest

Powershell - OneLine useful # 1 - Re-synchronizing VM replication

powershell

Powershell - OneLine useful # 1 - Re-synchronizing VM replication

This command will re-synchronize virtual machines replication, every 10 minutes. It does not show errors and will stop after all synchronizations are ok $hyperviseurs = @("SRV-HPV03","SRV-HPV04");$ErrorActionPreference = "SilentlyContinue";while($true){get-vm -ComputerName $hyperviseurs|Resume-VMReplication -Resynchronize;Start-Sleep -Seconds 5;get-vm -ComputerName $hyperviseurs|Reset-VMReplicationStatistics;$repl = get-vm

By Vincent C.