2 Replies Latest reply on May 23, 2020 7:54 AM by mahmn

    VM control from command line

    mahmn Novice

      I would like to control VMs from vcenter or another real machine within the network by some scheduled scripts. By control, I mean power on/off or plug/unplug the network interface.

      Assume a VM IP is 10.1.1.10 and the vcenter is 10.1.1.3.

      Another real machine (centos) is also available with 10.1.1.1. Actually, from the centos machine I open the web console of the vsphere/esxi/...

       

      For the first step, I want to send a shutdown command to a running VM. I searched for that and saw some topics. But the method is not clear for me. Any advice?