BUG: Error connecting to a VMware Remote Console

BUG: Error connecting to a VMware Remote Console

avatar

Add Session: VMware Remote Console

General Settings tab:

Virtual Center/ESX(i) Server
Server IP/DNS: esx-host.domain.name
Username: MyLogin
Password: *********************

VM name/configuration
VMware Console Type: Default
VM Name: MyVM

When connecting, a PowerShell screen flashes and disappears without establishing a connection. I was able to capture the PowerShell error (edited to show the relevant part):

Connect-VIServer : A positional parameter cannot be found that accepts argument
'System.Management.Automation.PSCredential '.
At line:9 char:1
+ Connect-VIServer esx-host.domain.name-Credential $mycreds;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In this error, I noticed that there was no space between the hostname and the -Credential parameter. If I edit the Session entry and add a trailing space to the hostname ("esx-host.domain.name ") in the Server IP/DNS field, I am able to connect.

Also, on the VMware Remote Console entry screen, "VMware" is mis-spelled as "VMWare". Sorry...OCD! :)

All Comments (1)

avatar

Hello,

That bug was reported and fixed yesterday. We have to wait for the next build though.

Thank you for recommending a workaround, it may help some of our users in the mean time.

I will fix the typo as well.

Best regards,

Maurice