How do I stop a VM from command line?

How do I stop a VM from command line?
Answer
If you need to take action on the machine immediately, follow the process below.
  1. SSH into the host where the virtual machine is running.
  2. Run “esxcli vm process list” to get the WorldID of the machine you want to shutdown. …
  3. Run “esxcli vm process kill –type=[soft,hard,force] –world-id=WorldNumber.
 

Tìm kiếm

Back
Top