Sometime when you are trying to connect to VMware ESXi or vCenter using PowerCli you face this issue
This issue because you are using invalid certificate , to ignore Invalid Server certificate error message you have to run one command:
Set-PowerCLIConfiguration
-InvalidCertificateAction
Ignore -Confirm:$false
Now Connect again to ESXi or vCenter Server
NOW Enjoy VMware PowerCli.
Ebrahim Aldesouky |ITSaurus
17 April 2021
great solution