From 5a579d6fe88670d6978a10367b1f62680d998cce Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 15 Apr 2019 09:32:51 -0400 Subject: [PATCH] Add name to should process --- ZertoApiWrapper/Public/Stop-ZertoFailoverTest.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZertoApiWrapper/Public/Stop-ZertoFailoverTest.ps1 b/ZertoApiWrapper/Public/Stop-ZertoFailoverTest.ps1 index add6b89..7593077 100644 --- a/ZertoApiWrapper/Public/Stop-ZertoFailoverTest.ps1 +++ b/ZertoApiWrapper/Public/Stop-ZertoFailoverTest.ps1 @@ -30,7 +30,7 @@ function Stop-ZertoFailoverTest { Write-Error "VPG: $vpgName Not Found. Please check the name and try again!" -ErrorAction Stop } $uri = "{0}/{1}/FailoverTestStop" -f $baseUri, $vpgId - if ($PSCmdlet.ShouldProcess("Stopping Failover Test")) { + if ($PSCmdlet.ShouldProcess("Stopping Failover Test on VPG: $name")) { Invoke-ZertoRestRequest -uri $uri -method "POST" -body $($body | ConvertTo-Json) } }