We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eded6b + 5585519 commit da18485Copy full SHA for da18485
demos-sdk2/VMFS-VMDK Snapshot/VMFS-VMDK Snapshot.ps1
@@ -125,8 +125,7 @@ $FirstSnapStatus = Get-Pfa2ProtectionGroupSnapshotTransfer -Array $FlashArray -N
125
126
if ($FirstSnapStatus.completed -ne $null) { # If $FirstSnapStatus.completed, then it hasn't been fully replicated
127
$MostRecentSnapshot = $MostRecentSnapshots[0].name
128
-}
129
-else {
+} else {
130
# Use prior snapshot instead
131
$MostRecentSnapshot = $MostRecentSnapshots[1].name
132
}
@@ -279,3 +278,4 @@ Remove-Pfa2Volume -Array $FlashArray -Name $NewClonedVolumeName
279
278
# Clean up
280
Remove-PSSession $TargetVMSession
281
+
0 commit comments