We help IT Professionals succeed at work.

Vsphere command lines.

jskfan
jskfan asked
on
Vsphere command line Groups.

I would like to know how many command groups are used in Vsphere. For instance Powercli by itself has many commands and scripts.
 ESXCLI has many commands also. Probably there are other Groups I do not know about and  that have many commands and their umbrellas.

So, I need to know which Groups of commands used in Vsphere environment (used with ESX hosts, Vcenter), and whether I can use just one of them, for instance Powercli group, and this will cover all I need to get information, set up new settings, Troubleshoot anything about Vsphere.


Thank you
Comment
Watch Question

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
There are hundreds .......

You need to look and use esxcli and experiment with options and power cli to see the modules

Author

Commented:
I am not looking for individual commands... but Categories.... Like Powercli ,ESXCLI...

Though Powercli can still  use ESXCLI commands

for instance ESXCFG, is it under Powercli or ESXCLI or it is deprecated.

Are there any other categories other than Powercli and ESXCLI
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Get-Module -ListAvailable VMware*

Open in new window


that will list all the VMware modules.

there are many troubleshooting tools for ESXi, as it's roughly based on Unix/Linux/Freebsd

if type esxcli you'll get the options

Author

Commented:
There are commands that you need to run after you connected to ESXi Host, like the ones listed here:
https://www.compspice.com/useful-commands-vmware-esxi/

and probably there are the ones you can run when connected to vCenter..

I believe Powercli can achieve the same thing that the commands listed on this link can achieve:
https://www.compspice.com/useful-commands-vmware-esxi/
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
Yes most of them are Linux or Unix, with some ESXi/ESX specific.

Without knowing what you are troubleshooting, it's difficult to offer what commands you need to use to troubleshoot.

and again, you only need to use those commands to troubleshoot, because under the cover usage should be under guidance from VMware Support as it states when you enable the ESXi shell.

This is covered in Advanced ESXi, not Install, Configure....

You can use power shell to execute console commands if you do not have a power shell module to do the same, or if you do not have SSH access.

Author

Commented:
Thanks
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
np