Can you check the ServerError property of the exception thrown. Is there useful information in that property?
Neither exception (exception thrown or BaseException) has property ServerError.
Exception types: VMware.VimAutomation.Cloud.Types.V1.CIException
and from there GetBaseException() gets you to Spring.Rest.Client.HttpClientErrorException.
No ServerError property in those types.
PowerCLI team, wake up!
7 months and nothing. Really guys?
This was FIXED in PowerCLI 6.5 R1 !