3 Commits

Author SHA1 Message Date
justin 97e3c20792 Merge pull request #119 from reggroux/master
Fixing Remove-ZertoVpgVM
2024-01-23 19:56:11 -05:00
Mike M ad8b61e19f Update README.md
Added TODO for ZVMA
2023-03-15 13:48:31 -04:00
Robert Groux f9291ed933 Fixing Remove-ZertoVpgVM 2021-08-06 16:25:59 -05:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ All recent updates can now be tracked via the [Change Log](https://github.com/Ze
## TODO
* Support ZVM appliance (different connection flow)
* JFLR Functionality
* Create VPG (Per-VM modification and Backup Settings)
* Edit VPG
+1 -1
View File
@@ -30,7 +30,7 @@ function Remove-ZertoVpgVm {
}
$VmIdentifiers = foreach ($machine in ($vm | Select-Object -Unique)) {
if ($machine -in $protectedVms.VmName) {
$protectedVms.Where( { $_.VmName -like $machine }) | Select-Object -ExpandProperty VmIdentifier
$protectedVms | Where-Object ( { $_.VmName -like $machine }) | Select-Object -ExpandProperty VmIdentifier
} else {
Write-Warning "Virtual Machine: '$machine' is not found in Vpg: '$VpgName'. Check your parameters. Skipping $machine"
}