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
Open VMConsole:
Get-VM VMName | Open-VMConsoleWindow
Edit:
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://root@10.x.x.x/?moid=vm-1
No PowerShell is not an option. I know cmd is an option for sure. This department's IT department is very strict.
you can check below article.
Opening the Virtual Machine Remote Console through PowerCLI - VMware PowerCLI Blog - VMware Blogs
Great article. But vsphere client software will be utilized by my customer. Not vsphere web client.
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
SEE ATTACHMENTS