Wednesday, June 24, 2020

Some of useful ESXCLI commands


ESXCLI is a set of command-lines for managing most parts of the ESXi host, gathering information from many aspects of this hypervisor, and modifying some of the important settings in the Networking, Storage, System areas of this platform.
Although I published a video series about how to work with ESXCLI in my YouTube channel that you can watch them (and also, some of the new parts are coming soon) but in this post, I want to review the execution's results of some listing and getting ESXCLI syntax:



esxcli bootcfg show
                    esxcli hardware cpu list | grep -i 'CPU\|Family\|Model\Brand'          

esxcli hardware memory get

esxcli hardware pci list | grep -i "Device Name"
esxcli network ip connection list
esxcli network ip connection list | grep 443
esxcli network ip interface ipv4 address list
esxcli network ip route ipv4 list / ipv6 list
esxcli network ip neighbor list
esxcli network vswitch standard list
esxcli network vswitch standard list | grep 'Name\|Uplinks\|Portgroups'
esxcli software profile get
esxcli software vib list
esxcli storage core adapter list
esxcli storage core path list
esxcli storage core path list | grep -i 'vmhba\|Name\|State\|Plugin'
 esxcli storage core device list
 esxcli storage core device list | grep -i 'Name' ....
esxcli storage filesystem list
esxcli system coredump file list
esxcli system version get
esxcli vm process list

No comments:

Post a Comment

I will start a new journey soon ...