PowerShell: Tips and Tricks WMware PowerCLI Error - Invalid Server Certificate This is just a very common error when you trying to access the vCenter Server with PowerCLI and when you have an invalid server certificate, probably the first time you are trying to connect with PowerCLI. PS C:\WINDOWS\system32> Connect-VIServer 192.168.89.44 -User administrator@vsphere.local Connect-VIServer : 04.01.2021 14:30:50 Connect-VIServer Error: Invalid server certificate. Use Set-PowerCLIConfiguration to set the value for the InvalidCertificateAction option to Prompt if you'd like to connect once or to add a permanent exception for this server. Windows