Automation

 View Only
  • 1.  Issue with Connect-VIServer

    Posted Sep 08, 2010 02:47 PM

    Hi

    I am quite new to this and am trying to use Powershell to access my ESXi server.

    I have ran Connect-ViServer -Server ip-address -Protocol https -User Admin - Password xxxx

    but i keep being told there is an issue with the protocol "Could not connect using requested protocol"

    I have also tried http also to no avail.

    Any suggestions would be appreciated.

    Thanks



  • 2.  RE: Issue with Connect-VIServer

    Posted Sep 08, 2010 03:05 PM

    This was actually a proxy setting that was causing this issue. Once proxy removed the error stopped.



  • 3.  RE: Issue with Connect-VIServer

    Broadcom Employee
    Posted Sep 08, 2010 03:15 PM

    You can also look at Set-PowerCLIConfiguration cmdlet. It allows you to configure PowerCLI to use or not the system proxy.

    Regards,

    Yasen Kalchev

    PowerCLI Dev Team

    Message was edited by: ykalchev