ESXi - esxcli

From Da Nerd Mage Wiki
Jump to navigation Jump to search

Some Handy Commands

  • Available Commands
    • esxcli esxcli command list
      • 6.7 (WARNING! Deep Dive...)
  • Listing DataStores
    • esxcli storage vmfs extent list
  • Listing VMs
    • esxcli vm process list
      • Gives you a list of Running VMs & various useful bits of information about them.
      • Appears to list them in the order in which they where started.
  • Stopping / Starting VMs
    • esxcli vm process kill –type=[soft,hard,force] –world-id=WorldID
      • soft: Best option, normal shutdown.
      • hard: Much like hitting a reset button on a physical machine.
      • force: Last resort, think power button...
      • WorldID: From running esxcli vm process list