Set Explicit Reverse\Keep Options

This commit is contained in:
Wes Carroll
2020-05-09 12:19:13 -04:00
parent d4b4d1b4d7
commit b33b07b524
@@ -23,8 +23,10 @@ function Invoke-ZertoMoveCommit {
$body = @{ }
if ($reverseProtection) {
$body["ReverseProtection"] = $true
$body["KeepSourceVms"] = $false
} elseif ($keepSourceVms) {
$body["KeepSourceVms"] = $true
$body["ReverseProtection"] = $false
}
}