Solved

What is vCLI

Posted on 2014-03-28
7
393 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 11

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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

734 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