- This topic has 0 replies, 1 voice, and was last updated November 4, 2020 by John M.
Error starting session
The forum ‘Scripting and APIs’ is closed to new topics and replies.
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
The forum ‘Scripting and APIs’ is closed to new topics and replies.