• Preetam Zare

ESXCLI–new scripting tool of vsphere 5.0

With vsphere 5.0 new scripting tool is introduced. It is one of the simplest scripting commands I have ever seen. It has some resemblance with powershell. Every thing has option and made into get/set style commands. Being a powershell fan, I’m loving it

Let’s find the ESX version. First enable ESXi shell. You can enable it from vCenter or from DCUI. Easiest way is vCenter

Let’s find the vmware version. Type in following command

esxcli system version get

you want to learn the options under esxcli system, just type in

esxcli system

To check the CPU details type in

esxcli hardware cpu list

In below example we brought down one of the nic but you do not get any confirmation.

esxcli network nic down -n=vmnic

It was at least expected to output “command was successful” but for some reason it is not doing so. So in order to confirm it, I have to run another command

esxcli network nic list

Share this:

  1. Facebook

  2. LinkedIn

  3. Twitter

  4. WhatsApp

  5. Reddit


Recent Posts

See All

Patching esxi5.0

Recently new patch was released by VMware to fix iSCSI problem. How to apply patch is explained here Few notes on patching. No command-line utility can upgrade an older ESX or ESXi host to 5.0. ESXi 5

©2019 by virtual2Cloud. Proudly created with