How to use command line to automate the free version of ESXi

There are some limitation for the free version of ESXi

But we can use the vmrun command line tool to automate common operations such as stop, start, runProgramInGuest.


vmrun -t esx -h -u root -p password list

vmrun -t esx -h http:/ -u root -p password -gu domenuser -gp userpassword runProgramInGuest "[C_Drive] MyLab/MyLab.vmx" notepad

vmrun -t esx -h -u root -p password stop "[C_Drive] MyLab/MyLab.vmx " hard’

vmrun -t esx -h -u root -p password "[C_Drive] MyLab/MyLab.vmx " start’


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s