From e3c8817eec2f7ed92bfa15ae9f6170b7c1b30d01 Mon Sep 17 00:00:00 2001 From: Mike M Date: Tue, 21 Feb 2023 12:04:55 -0500 Subject: [PATCH] Update zvma-simple-list-vpgs.ps1 Fixed ContentType --- zvma-simple-list-vpgs.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zvma-simple-list-vpgs.ps1 b/zvma-simple-list-vpgs.ps1 index 4dac822..d5d9b4c 100644 --- a/zvma-simple-list-vpgs.ps1 +++ b/zvma-simple-list-vpgs.ps1 @@ -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 \ No newline at end of file +$result | select VPGName,VMsCount, SourceSite, TargetSite, ActualRPO | format-table