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...")
 
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]]
***[[ESXi - 6.7 esxcli Command List{{!}}6.7]]
*Listing DataStores
*Listing DataStores

Revision as of 20:38, 20 April 2022

Some Handy Commands

  • Available Commands
    • esxcli esxcli command list
    • (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