diff --git a/ZertoApiWrapper/Public/Set-ZertoUserCredential.ps1 b/ZertoApiWrapper/Public/Set-ZertoUserCredential.ps1 index 423f02c..c2e1a9e 100644 --- a/ZertoApiWrapper/Public/Set-ZertoUserCredential.ps1 +++ b/ZertoApiWrapper/Public/Set-ZertoUserCredential.ps1 @@ -22,7 +22,7 @@ function Set-ZertoUserCredential { UserName = $UserCredential.UserName Password = $UserCredential.GetNetworkCredential().Password } - if ( $PSCmdlet.ShouldProcess( $script:zertoServer, "Updating hypervisor service account credentials" )) { + if ( $PSCmdlet.ShouldProcess( $script:zvmServer, "Updating hypervisor service account credentials" )) { Invoke-ZertoRestRequest -uri $uri -Method PUT -body ($body | ConvertTo-Json) } }