Difference between revisions of "ESXi - esxcli"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
*Available Commands
*Available Commands
**<code>esxcli esxcli command list</code>
**<code>esxcli esxcli command list</code>
**(WARNING! Deep Dive...)
***[[ESXi - 6.7 esxcli Command List{{!}}6.7]] (WARNING! Deep Dive...)
***[[ESXi - 6.7 esxcli Command List{{!}}6.7]]
*Listing DataStores
*Listing DataStores
**<code>esxcli storage vmfs extent list</code>
**<code>esxcli storage vmfs extent list</code>

Latest revision as of 20:39, 20 April 2022

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