Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

vsphere client command line switches.

Posted on 2013-05-23
2
Medium Priority
?
3,296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
Subhashish Laha earned 2000 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

636 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