Solved

What is vCLI

Posted on 2014-03-28
7
395 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
[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
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 12

Assisted Solution

by:Alex Green
Alex Green 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
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.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Suggested Courses

632 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