Solved

What is vCLI

Posted on 2014-03-28
7
383 Views
Last Modified: 2014-04-02
I have done some reading about vCLI.
Apparently, you can download vCLI as a package and install it in Linux or Windows.
if I am understanding it right, so when you install vCLI package in windows, are you going to type linux commands? for instance:
vicfg-nics -l

I know the best answer is to download vcli package on windows and install it….but I do not have time for that yet…

I also think that vcli commands can be run against ESXi or Vcenter…I may need someone to confirm that,,

Thank you.
0
Comment
Question by:jskfan
7 Comments
 
LVL 25

Assisted Solution

by:Zephyr ICT
Zephyr ICT earned 227 total points
ID: 39961308
Yes, vCLI is an administrator tool that allows you to run common system administration commands against ESXi systems as well as vCenter (most of these commands work on vCenter that is).

You can find a list of available commands here

More info here
0
 
LVL 6

Assisted Solution

by:alexgreen312
alexgreen312 earned 113 total points
ID: 39961330
If you want that, then a great application to use is powerGUI, it uses a nice user interface to build up CLI commands in an easy to use fashion, also there is quite a large community of people making up packages for you.
0
 

Author Comment

by:jskfan
ID: 39962270
How do you run vCLI command on windows? they are linux commands I believe.
example:
vicfg-nics -l
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 22

Accepted Solution

by:
Haresh Nikumbh earned 160 total points
ID: 39963685
Click on Start ==> program files ==> vmware ==> Vmware vsphare CLI

you will see command prompt over there.

run that and execute below command to see nics for the host

vcli
0
 

Author Comment

by:jskfan
ID: 39963990
What I meant , do they have vCLI for Linux and another vCLI for Windows.?
because sometimes you will have to add |more and |Grep to the command, these are just examples..
0
 
LVL 25

Assisted Solution

by:Zephyr ICT
Zephyr ICT earned 227 total points
ID: 39965116
The vCli commands are same for both Linux and Windows, the "proprietary" commands for each OS have little to do with it, vCli just provides the opportunity to run scripts/commands against your ESXi environment. There are differences in the vCli commands, small ones, this is due to how the OS operates.

These are commands on both OS's to see some of the differences:

Linux
esxcli --server <server> --username snow\-white --password dwarf\$ network ip interface list
esxcli --server <server> --username snow\-white --password ‘dwarf$’ network ip interface list
vicfg-mpath --server <server> --username snow\-white --password dwarf\$ --list
vicfg-mpath --server <server> --username ‘snow-white’ --password ‘dwarf$’ --list

Windows
esxcli --server <server> --username “snow-white” --password “dwarf$” network ip interface list
vicfg-mpath.pl --server <server> --username “snow-white” --password “dwarf$” --list

Open in new window

0
 

Author Closing Comment

by:jskfan
ID: 39972597
Thank you Guys!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Running Baan iV on VMware 3 73
VMware and multiple snapshot 4 20
Go To/Delete Snapshot 10 23
Managing unpatched virtual machines 5 43
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

758 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

19 Experts available now in Live!

Get 1:1 Help Now