Top 4 – ESXi one-liner scripts

bash-148836_960_720I have caught myself quiet a few times running a bunch of one-liner scripts on ESXi.
Whether I setup ESXi, troubleshoot something or just test a feature, one-liners can often simplify whatever task you’re trying to complete.

Below is the list of one-liner scripts, which I use at least once a week.


Register all VMs, from a datastore, back to the ESXi Inventory

Identify whether ESXi is booting of USB

Number of vmknics with jumbo frames configured

Number of powered-on VMs


I will share some of my most used PowerCLI scripts, early next 2016.



1 Comment|Add your own comment below

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.