Update zvma-simple-list-vpgs.ps1
Fixed ContentType
This commit is contained in:
@@ -30,7 +30,7 @@ $zvmApiBase = "https://" + $zvmAddress + "/v1/"
|
||||
$request = @{
|
||||
|
||||
Headers = @{
|
||||
ContentType = "application/x-www-form-urlencode"
|
||||
ContentType = "application/x-www-form-urlencoded"
|
||||
}
|
||||
|
||||
Body = @{
|
||||
@@ -80,4 +80,4 @@ catch {
|
||||
Write-Error "Error making API call to ZVM" -ErrorAction Stop
|
||||
}
|
||||
|
||||
$result | select VPGName,VMsCount, SourceSite, TargetSite, ActualRPO | format-table
|
||||
$result | select VPGName,VMsCount, SourceSite, TargetSite, ActualRPO | format-table
|
||||
|
||||
Reference in New Issue
Block a user