Set-ZertoLicense - Fix ShouldProcess error

Fixes #96
This commit is contained in:
Wes Carroll
2020-07-01 17:09:38 -04:00
parent 136d1b2c76
commit 41fddf5f13
+1 -1
View File
@@ -16,7 +16,7 @@ function Set-ZertoLicense {
}
process {
if ($PSCmdlet.ShouldProcess()) {
if ($PSCmdlet.ShouldProcess("Applying License Key: $licenseKey to server: $($script:zvmServer)")) {
Invoke-ZertoRestRequest -uri $baseUri -body $($body | ConvertTo-Json) -method "PUT"
}
}