- This topic has 0 replies, 1 voice, and was last updated November 4, 2020 by John M.
Error starting session
You must be logged in to create new topics.
Click here to login
I’m getting the following error:
“Message”:”Exception occurred in API: The property ‘username’ is not supported for this request. Please review the documentation for valid properties.”
The script snippet that is causing this error is:
#import and set credential variable
$xmlPath = “$env:USERPROFILE\” + $userName + “.clixml”
$zvmCredential = Import-Clixml -Path $xmlPath