Home Virtualization PowerCLI – Could not connect using the requested protocol

PowerCLI – Could not connect using the requested protocol

by admin

I ran into this issue today for the first time. When attempting to connect PowerCLI to an ESXi 5 host, I received the following error stating: “Could not connect using the requested protocol”:

powercli-could-not-connect-using-requested-protocol

A quick search revealed this VMware KB describing the issue, and how to fix. It seems the error is due to the proxy settings used by PowerCLI. You can check the current configuration by running:

Get-PowerCLIConfiguration

get-powercliconfiguration

The Proxy Policy is set to ‘UseSystemProxy’. The fix, as detailed in the KB, is to change that setting so that no proxy is set. To do so, run:

Set-PowerCLIConfiguration -ProxyPolicy NoProxy

set-powercliconfiguration-no-proxy

Once done, you should be able to successfully connect PowerCLI to your ESXi host or vCenter server.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More