vsphere client command line switches.
Posted on 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?