How to use vSphere cli

vSphere cli is a command line interface, where we can use to run commands on esx hosts.This is an alternative option for putty.We can install vSphere cli on any server/desktop in your network.

Below are the steps

  1. Download vSphere cli from vmware.com

clip_image001

  1. Once you installed vSphere cli, you can browse the below path and run the commands. Most of the commands are written in activepearl scripting language.

clip_image002

  1. We can get help for all the commands using –help parameter.

clip_image003

  1. As a example, we can use vicfg-vminc commands to configure our network interfaces

clip_image004

  1. We can use vmware-cmd.pl command do the virtual machine operations.

clip_image005

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.