Search This Blog

Monday, 11 October 2021

Esxcli

 

#To get Management console IP of the hypervisor 

$esxcli = get-esxcli -VMHost HOSTNAME

$Esxcli.hardware.ipmi.bmc.get()


Network 

esxcli network nic list

esxcli network nic dpwn -n vmnicX

esxcli network nic up -n vmnicX



Ansible_Notes

   ansible -i inventory.ini -m ping all   # inventory.ini it will ping to the hosts which are in inventory # ansible -i inventory.ini -m pin...