Set Explicit Reverse\Keep Options
This commit is contained in:
@@ -23,8 +23,10 @@ function Invoke-ZertoMoveCommit {
|
|||||||
$body = @{ }
|
$body = @{ }
|
||||||
if ($reverseProtection) {
|
if ($reverseProtection) {
|
||||||
$body["ReverseProtection"] = $true
|
$body["ReverseProtection"] = $true
|
||||||
|
$body["KeepSourceVms"] = $false
|
||||||
} elseif ($keepSourceVms) {
|
} elseif ($keepSourceVms) {
|
||||||
$body["KeepSourceVms"] = $true
|
$body["KeepSourceVms"] = $true
|
||||||
|
$body["ReverseProtection"] = $false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user