Solved

vsphere client command line switches.

Posted on 2013-05-23
2
3,090 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 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMotion Direct Attached Storage 9 95
Datacenter object VMWare 7 63
Server details to procure Microsoft volume licensing 3 25
VM sizing 2 43
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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