VMware PowerCLI Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration

 

 

Problem:

 
Unable to connect vCenter with  “Connect-VIServer” command. It gives error “VMware PowerCLI Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration
 

 
 
Reason:
 
The issue usually happen whenever Self Signed Certificate is used in Vcenter server.
 
 
Solution:
 
Execute below command to ignore Certificate check during vCenter Connection.
 
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore
 

You might be interested in …

How to check the compliance of VMware new Licensing for an enterprise

VMware

  As you might already know VMware announced a change to its per-CPU licensing model,effective April 2, 2020.   Do you want to check if you are compliant or need more licenses? Just see below VMwareKB which contains a PowerCLI script for checking this. VMware KB

Read More

Horizon PowerCLI: Modify existing Pool Settings in Horizon View

VMware

Earlier this year, I inherited several Horizon View environments that were not built with manageability in mind. I am working on a larger project to conduct a proper plan and design and rebuild these environments, but until that is complete I need to continue to support the legacy installations. In these environments (Horizon 7.5.1), each […]

Read More

How to find VDI Client (ThinClient) MAC address from Horizon View

Horizon View, VMware

        While administering VDI environments, most of the time we will struggle to get Thin Client or VDI Client MAC address for troubleshooting, re-imaging or for providing remote shadow support. Below article explains about a simple “visual basic” script to get this information. In my case, I kept this script on network […]

Read More

Leave a Reply

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