I will open this up by saying I come from a Windows background so my use for the command line has always been low. I can fumble my way around but since I no longer use it everyday my skills are somewhat rusty. My coworker and fellow blogger at the Wahlnetwork probably is laughing about my 20 years in IT and thinks the guy in the image below is me.
So on to the serious stuff, if you are needing learn more on the ESXCLI commands for your daily work, just for fun or maybe you are studying for the VCAP-DCA exam then hopefully I can point you in the right direction. First thing I would say is remove any fear that you might have about the big bad command line, its not that scary. The best way to learn and eventually mast this is to start forcing yourself to work in it on a daily basis. I’m going to assume that you know how to access the command line or ESXi shell already if not have a read of how to become a Shell Ninja to get you started.
How to find ESXCLI commands
The first thing your thinking is geez how to do I find the command that I need to use? Well you can look them up in the VMware documentation here or you can use the command line (CLI) to figure them out. First thing is you can simply type the following command in and ESXCLI will spit out what the possible variables are.
It will then show you help on the possible options that the command offers. I am working on ESXi 5.0U1 for this post and as of now these are the options for the command. It seems like VMware will continue to build more functions and roll in the old esx commands. But right now you can configure the following main areas with the ESXCLI command.
About Brian Suhr
Brian is a VCDX5-DCV and a Sr. Tech Marketing Engineer at Nutanix and owner of this website. He is active in the VMware community and helps lead the Chicago VMUG group. Specializing in VDI and Cloud project designs. Awarded VMware vExpert status for 2014, 2013, 2012 & 2011. VCP3, VCP5, VCP5-Iaas, VCP-Cloud, VCAP-DTD, VCAP5-DCD, VCAP5-DCA, VCA-DT, VCP5-DT, Cisco UCS Design