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 …

Horizon 7.x – Branding and customization of login page

Horizon View, VMware

As Horizon 7.7 just released last week, one of the features my customer often asked me about customizing horizon view default screen for enterprise logo and background.  I think it is a nice visual to add some simple branding to the default Horizon landing and portal pages and it is relatively straightforward to accomplish. Let’s […]

Read More

NTP configuration on multiple ESXi hosts via PowerCLI

VMware

As you might know, keeping our ESXi hosts’ date and time accurate is very critical. To prevent having an inaccurate time configuration we can use the NTP server in our environment.A few days ago, I faced a question about NTP configuration in the vSphere environment and how to set NTP configuration on many ESXi hosts. […]

Read More

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

Leave a Reply

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