ANGRYSYSOPS ESXi CLI OPERATIONS LAB
Master the command line. Own your infrastructure.
Practice ESXi tasks across network, storage, VMs,
logs, security, and host management.
WHAT SHELL ARE YOU IN?
The same-looking prompt can belong to an ESXi host, the vCenter Server Appliance, or an administrator workstation. This lab teaches commands executed directly in ESXi Shell or over SSH to an ESXi host.
Direct ESXi observation: the read-only command path is appropriate.
Capture output before changing state. Command availability still varies by release, installed components, and privileges.
OBSERVE FIRST. CHANGE LAST.
The simulator stays locked until the execution context, evidence path, and disruptive-action controls are acknowledged.
BUILD AN EVIDENCE-FIRST HOST SNAPSHOT.
Walk through ten phases. The first seven are observational. The final three demonstrate maintenance, reboot, and return-to-service syntax without connecting to a real host.
SEARCH BY TASK, NOT BY MEMORY.
Filter the verified command map. “Read” commands inventory state. “Change” commands alter configuration. “Disruptive” commands can interrupt workloads, management, or the host.
| Common bad syntax | Correct approach | Why it matters |
|---|---|---|
esxcli network vswitch list | esxcli network vswitch standard listesxcli network vswitch dvs vmware list | Standard and distributed switches use different namespaces. |
esxcli storage filesystem df | esxcli storage filesystem listdf -h or vdf -h for shell-specific usage views | There is no current ESXCLI `filesystem df` operation. |
esxcli storage core device rescan | esxcli storage core adapter rescan --all | Rescans operate on storage adapters, not the device namespace. |
esxcli system service restart ... | /etc/init.d/hostd restart/etc/init.d/vpxa restart | ESXi does not expose the fabricated `system service` syntax. |
esxcli system shutdown reboot | esxcli system shutdown reboot --delay=10 --reason="Approved change" | A reason is required and the host must be in maintenance mode. |
esxcli system time set --date=... --time=... | esxcli system time set --year=2026 --month=7 --day=17 --hour=14 --min=30 --sec=00 | The command accepts individual date/time parameters. Prefer NTP for normal operations. |
esxbug.sh | vm-support -w /vmfs/volumes/<datastore> | `vm-support` is the supported ESXi diagnostic collection tool. |
Loading...
BUILD THE CLI HANDOFF NOTE.
Record what was observed, what changed, and which commands produced the evidence.
Draft evidence note pending.
VERIFY AGAINST THE TARGET RELEASE.
The command map is grounded in the current Broadcom ESXCLI reference and operational KBs. Use the version selector in the command reference and recheck release-specific support guidance before a production change.
- ESXCLI system command referenceHostname, NTP, maintenance mode, accounts, encryption, time, shutdown, syslog, coredump, and process namespaces.
- ESXCLI network command referenceVMkernel interfaces, physical NICs, firewall rulesets, VM ports, standard switches, distributed switches, and LACP.
- ESXCLI storage command referenceFilesystems, adapters, devices, paths, NMP, NFS, NVMe, and adapter rescans.
- Common VM tasks via command line`vim-cmd` inventory, power, guest operations, snapshots, registration, and VMware Tools examples.
- Restarting management agents in ESXiTargeted `hostd` and `vpxa` restart syntax plus warnings for vSAN, LACP, NSX, and shared graphics.
- Collecting ESXi diagnostics with vm-supportSupported host support-bundle collection and destination guidance.
- Location and contents of ESXi logsCurrent `/var/run/log` locations and component-specific log purposes.
- Using ESXi ShellEnablement, access, timeout, security, and operational policy for direct shell use.
SOURCE SET REVIEWED // 17 JUL 2026 // COMMAND AVAILABILITY VARIES BY ESXI / ESX RELEASE AND INSTALLED COMPONENTS