Skip to content

Instantly share code, notes, and snippets.

@jkullick
Last active November 5, 2025 16:03
Show Gist options
  • Select an option

  • Save jkullick/e79c9e248d1825eb653d0c5fcd5c7d5d to your computer and use it in GitHub Desktop.

Select an option

Save jkullick/e79c9e248d1825eb653d0c5fcd5c7d5d to your computer and use it in GitHub Desktop.
Force VM Shutdown on VMware ESXi with esxcli
  1. List VMs: esxcli vm process list
  2. Force Shutdown: esxcli vm process kill --type=force --world-id=$WORLDNUMBER

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment