ESXi - esxcli

From Da Nerd Mage Wiki
Revision as of 21:39, 20 April 2022 by Tinker (talk | contribs) (→‎Some Handy Commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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