Tag Archives: Powercli

Automation using esxcli in powershell

One command has to be used in the powercli to call the functions associated with the esxcli, the command is Get-EsxCli Download powercli version 6.0 or above to run the cmdlets mentioned below : We have to create an object before we run the cli commands over the powercli $esxcli = Get-EsxCli –Vmhost virtualbabu.vm.lab07 $esxcli object… Read More »