• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

Connection problems with PowerCLI due to proxy settings

repping · Feb 24, 2011 ·

I was able to connect my PowerCLI instance without any problems to my vCenter, until all of a sudden I got the following error:

Connect-VIServer : 8/12/2010 11:51:36 Connect-VIServer
Could not connect using the requested protocol.

I discovered that this was due to a change in the Proxy Server settings on the client. After removing this proxy address everything was back to normal.

-ray

Share it:

  • Tweet

Related

powerCLI 4.1, powercli, Scripting, scripts, vSphere

Reader Interactions

Comments

  1. Alan Renouf says

    24 February, 2011 at 13:15

    You can also use the Set-PowerCLIConfiguration cmdlet with the -ProxyPolicy NoProxy parameter to turn it off for that PowerCLI session.

  2. Jeremy Perez says

    24 February, 2011 at 17:43

    Thanks for the tip,
    I got the same problem today.

  3. Abhishek says

    30 May, 2012 at 08:57

    i have installed my powercli but i m not able to open my powercli itself……may i know what is the issue???pls let me know……

    thanks

  4. Chrisphy says

    28 October, 2012 at 14:34

    Hi,I have the same problem too! I do not know the way how to do?
    Who can help me?

    Thanks a lot

    Chrisphy

  5. preetam says

    9 April, 2013 at 17:11

    Thanks for sharing !!!

  6. Manny says

    10 May, 2013 at 17:02

    Thank you

  7. birender says

    4 July, 2013 at 11:29

    Thanks a lot. It works for me.

  8. darshan says

    16 September, 2013 at 08:20

    Connect-VIServer : 9/16/2013 11:35:53 AM Connect-VIServer Could not c
    onnect using the requested protocol.
    At line:1 char:17
    + Connect-VIServer <<<< 10.25.81.20 -Session $srv.SessionId
    + CategoryInfo : ObjectNotFound: (:) [Connect-VIServer], ViServer
    ConnectionException
    + FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_Proto
    colError,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer

    this is the error message.. pls help me out

  9. Anders Mikkelsen says

    14 February, 2014 at 10:24

    ¨Thanks for sharing, just saved mu ass.

    A. MIkkelsen

Primary Sidebar

About the author

Duncan Epping is a Chief Technologist in the Office of CTO of the Cloud Platform BU at VMware. He is a VCDX (# 007), the author of the "vSAN Deep Dive", the “vSphere Clustering Technical Deep Dive” series, and the host of the "Unexplored Territory" podcast.

Upcoming Events

Feb 9th – Irish VMUG
Feb 23rd – Swiss VMUG
March 7th – Dutch VMUG
May 24th – VMUG Poland
June 1st – VMUG Belgium

Recommended Reads

Sponsors

Want to support Yellow-Bricks? Buy an advert!

Advertisements

Copyright Yellow-Bricks.com © 2023 · Log in