Always return the Vpg Settings Identifier
This commit is contained in:
@@ -88,9 +88,8 @@ function Add-ZertoVpgVm {
|
|||||||
# Submit the request. Out to Null to prevent line returns while running.
|
# Submit the request. Out to Null to prevent line returns while running.
|
||||||
$null = Invoke-ZertoRestRequest -uri $baseUrl -method POST -body ($Body | ConvertTo-Json -Depth 10)
|
$null = Invoke-ZertoRestRequest -uri $baseUrl -method POST -body ($Body | ConvertTo-Json -Depth 10)
|
||||||
}
|
}
|
||||||
if ($PSCmdlet.ParameterSetName -eq "VpgName") {
|
|
||||||
$vpgSettingsIdentifier
|
$vpgSettingsIdentifier
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
Write-Warning "No VMs found to add. Please check your parameters and try again."
|
Write-Warning "No VMs found to add. Please check your parameters and try again."
|
||||||
if ($PSCmdlet.ParameterSetName -eq "VpgName") {
|
if ($PSCmdlet.ParameterSetName -eq "VpgName") {
|
||||||
|
|||||||
Reference in New Issue
Block a user