Updating VMware Code from Powershell CLI 5.5 to 6.5

Recently our environment has upgraded to Vsphere 6.5 Web Client. During that time our integration broke and we had to update our framework API to make way for the new .NET 4.5 PowerCli(6.5). Once doing this the update to the code was pretty minor.

Public VirtualCenter As New VMware.Vim.VimClientImpl ‘This use to be VimClient but in 6.2 it changed
‘Public VirtualCenter As New VMware.Vim.VimClient

I had to remove VimClient and replace it with VimClientImpl, Now that interesting thing that happens afterward was this.

“InitializeSecurityContext() failed!!!. Error Code = ‘80090303’.”

and after searching google I found these two links describing the Trust with Kerberos and our Vcenter server. Look’s like we’ll have to make an adjustment to resolve this in the future as it has an impact on our VM that is running Vcenter.


https://my.vmware.com/group/vmware/info?slug=datacenter_cloud_infrastructure/vmware_vsphere/6_5#drivers_tools ‘Moving to this required .Net 4.5 Project upgrade

Leave a comment

Your email address will not be published. Required fields are marked *