It may happen that once you want to connect to your vCenter with PowerCLI, you may receive an error about invalid server certification. It just happened to me connecting to my home lab vCenter server.
Thankfully there is an easy way to fix that issue. All you need to do is to run this one-line command to ignore the certificate:
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
And now we can connect easily:
Please like and share to spread the knowledge in the community.
Subscribe to my channel : https://bit.ly/3vY16CT
If you want to chat with me please use Twitter: @AngrySysOps
Join my VMware Knowledge Base Group: https://bit.ly/3w54tbc
Visit my FB page: https://www.facebook.com/AngrySysOps
Read my blog: https://angrysysops.com
Subscribe to my channel : https://bit.ly/3vY16CT