?
Solved

vsphere client command line switches.

Posted on 2013-05-23
2
Medium Priority
?
3,211 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Suggested Courses

771 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