Bypass invalid certificate warnings in PowerCLI

Problem:
When trying to connect to vCenter via PowerCLI you are prevented from connecting due to an invalid certificate prompt

Solution:
Configure PowerCLI to ignore invalid certificates:

Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

Leave a Reply

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