despite that I'm adding the below to my script, I have always the error message : Get-EsxCli Could not establish secure channel for SSL/TLS with authority
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls,[System.Net.SecurityProtocolType]::Tls11,[System.Net.SecurityProtocolType]::Tls12
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
has anyone encountered this kind of problem?
6.5 sorry
Have a look at KB2147469 and check if that helps.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference