Skip to content

Instantly share code, notes, and snippets.

@tyjak
Last active April 5, 2018 08:28
Show Gist options
  • Save tyjak/19e25302026dc4d0bf44ce2ed182d3bd to your computer and use it in GitHub Desktop.
Save tyjak/19e25302026dc4d0bf44ce2ed182d3bd to your computer and use it in GitHub Desktop.
Esxi tips

Esxi tips

  • lister toutes les machines : `vim-cmd vmsvc/getallvms`
  • lister toutes les machines démarré : `esxcli vm process list`
  • stopper une machine : `esxcli vm process kill --type=soft --world-id=XXX` (World ID donné par la précédente commande)
  • démarrer une machine : `vim-cmd vmsc/power.on {ID}` (ID donné par la première commande)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment