I am able to start the application using " " in command prompt:
start "vSphere Client" "C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s 10.x.x.x -u root -p $#%#^
After running this command in command prompt, the application opens, logs in, and opens the Vsphere client and I have 2 VMs. I want to Launch one of the VM's Console from command prompt without having to click the "Launch Virtual Machine Console" button.
Can anybody provide command?
Is PowerShell with PowerCLI an Option? If yes:
Connect to vCenter/ESXi:
Connect-VIServer -Server ServerName -Username BlaUserBla -Password BlaPassBla
Get-VM VMName | Open-VMConsoleWindow
You can use the "VMware Remote Console" but you need to know the moid of the vm:
"C:\Program Files (x86)\VMware\VMware Remote Console\vmrc.exe" vmrc://email@example.com/?moid=vm-1
I was able to download and install "powerCLI" I ran the commads in PowerCLI but it open the console window in a web broswer.
I am trying to accomplish, is to have the vsphere client software open, log in to, and then the vSphere Client software opens up. I am able to do all of this using : "vSphere Client" "C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s 10.x.x.x -u root -p $#%#^" in command line.
After the vsphere client software is running, I then need to launch one of the VMs in its Console within the software from CMD or from POWERCLI