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://communities.vmware.com/message/2449933#2449933
https://communities.vmware.com/thread/548235

https://my.vmware.com/group/vmware/details?downloadGroup=PCLI550&productId=352&download=true&fileId=0b8a733a67ebb3aca6bf6a4c660be665&secureParam=9b4801d7fc2bdb003c6aa6a7ab4a064f&uuId=74f7da42-e8a9-4957-8f8e-8456d6dd58f8&downloadType=
https://my.vmware.com/group/vmware/details?downloadGroup=PCLI600R1&productId=491
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 *