Update zvma-simple-list-vpgs.ps1

Fixed ContentType
This commit is contained in:
Mike M
2023-02-21 12:04:55 -05:00
committed by GitHub
parent 49392fd80e
commit e3c8817eec
+2 -2
View File
@@ -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