Using Vsphere VCLI in windows

Posted on 2014-01-01
Last Modified: 2014-01-12
I have download Vsphere VCLi for windows. when I opened up the command prompt of Vcli, then went to bin directory, run DIR, all I can see is the .pl files.

I want to use VCLi commands but it does not seem that I can use them in windows with .pl files which are I guess Perl scripts.

Any idea?

Question by:jskfan
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
  • 4
  • 4
LVL 51

Assisted Solution

Netman66 earned 100 total points
ID: 39750598
The VCli installation should have installed the supporting Perl environment.

This should be the latest installer:

Do you have the correct permissions to install?

This is the support page with documents on how to use the CLI.
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 400 total points
ID: 39750836
select and run the perl extension you need to run.


type "" <>enter> with the correct syntax

Author Comment

ID: 39755348
I wanted to use Vicfg command , this is why I downloaded Vsphere VCLI

I am not sure if I have downloaded the right tool
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 400 total points
ID: 39755886
which vicfg- comnmand, there are 23 of them!

it is the correct tool. which command?

Author Comment

ID: 39758523
for Instance, if I want to use:

in Vsphere VCLI they are all under bin directory and they are .pl files
I thought Vicfg commands are  commands that you can run on ESXi hosts after connecting through SSH, just like ESXTOP
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 400 total points
ID: 39758669
maybe you are confusing them with esxcfg- commands ?

Author Comment

ID: 39773519
I found out that Vicfg is used by 2 different tools:
there is Vicfg used in vMA appliance, this one is used as Linux commands.
there is Vicfg used by Vspher VCLi , this one uses .pl extension
LVL 120

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 400 total points
ID: 39773535
yes, the VMA appliance also has the vCLI kit pre-installed!

 In Windows it needs perl, to run the perl scripts.

What are you trying to do?

If Perl is installed correctly in Windows, like any other rile, you just type it at the command prompt and run it.

e.g. fred,pl

type "" with the correct syntax.

The purpose of the vCLI is it can be run remotely across the network, when you DO NOT have access to SSH from your Windows or Linux workstations.

If you have access to the console or remotely via SSH, you can use commands directly on the Host Server.

Different methods of management.

Author Closing Comment

ID: 39774672
Thank you Guys

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Suggested Solutions

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…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
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:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

696 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