Using Vsphere VCLI in windows

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?

Thanks
jskfanAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
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 "fred.pl" 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.
0
 
Netman66Connect With a Mentor Commented:
The VCli installation should have installed the supporting Perl environment.

This should be the latest installer:

https://my.vmware.com/web/vmware/details?downloadGroup=VCLI550&productId=352

Do you have the correct permissions to install?

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

https://www.vmware.com/support/developer/vcli/?src=WWW_BestMatch_caen
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
select and run the perl extension you need to run.

e.g. vihostupdate.pl

type "vihostupdate.pl" <>enter> with the correct syntax
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
jskfanAuthor Commented:
I wanted to use Vicfg command , this is why I downloaded Vsphere VCLI

I am not sure if I have downloaded the right tool
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
which vicfg- comnmand, there are 23 of them!

it is the correct tool. which command?
0
 
jskfanAuthor Commented:
for Instance, if I want to use:
Vicfg-dns
Vicfg-nics
Vicfg-ntp

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
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
maybe you are confusing them with esxcfg- commands ?
0
 
jskfanAuthor Commented:
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
0
 
jskfanAuthor Commented:
Thank you Guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.