Solved

vsphere client command line switches.

Posted on 2013-05-23
2
2,990 Views
Last Modified: 2013-05-23
I'm using vSphere Client 5.1 to connect to my ESXi hosts.
I need to automate my login process and from what I've read there are some command line switches for host server, username, password.

vpxclient.exe -s <hostname> -u <username> -p <password>

When I run vpxclient with these parameters, they are completely ignored. Vsphere Client launches and none of those 3 fields are populated. I manually have to type the host, my username & password.

This seems fairly straight-forward so I'm not sure where it's going wrong. There's also an optional "i" parameter for the certificate but I have the same issue with or without it. In this instance I have the cert already anyway.

Anybody else calling the vSphere client from a command line w/ parameters?
0
Comment
Question by:ZabagaR
2 Comments
 
LVL 10

Accepted Solution

by:
Subhashish Laha earned 500 total points
ID: 39191693
By running below command I am able to login to my ESXi host

C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launc
her>VpxClient.exe -i yes -s x.x.x.x -u root -p xxxxx
0
 
LVL 15

Author Comment

by:ZabagaR
ID: 39191759
I tried from another desktop at work and it worked.  I must have some sort of problem with my desktop PC.....wouldn't be surprised if a reboot fixed or reload of the client, worst case. Thanks for verifying!  I'm not crazy!
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now