Difference between revisions of "ESXi - esxcli"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(Created page with "= Some Handy Commands = *Available Commands **<code>esxcli esxcli command list</code> ***[[ESXi - 6.7 esxcli Command List{{!}}6.7]] *Listing DataStores **<code>esxcli storage vmfs extent list</code> *Listing VMs **<code>esxcli vm process list</code> ***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 **<code>esxcli vm process kill –type=[sof...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
*Available Commands
*Available Commands
**<code>esxcli esxcli command list</code>
**<code>esxcli esxcli command list</code>
***[[ESXi - 6.7 esxcli Command List{{!}}6.7]]
***[[ESXi - 6.7 esxcli Command List{{!}}6.7]] (WARNING! Deep Dive...)
*Listing DataStores
*Listing DataStores
**<code>esxcli storage vmfs extent list</code>
**<code>esxcli storage vmfs extent list</code>

Latest revision as of 21: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