简体   繁体   中英

Executing command on VM inside VMware

Is there any way to execute command on a virtual machine from VMWare server console?

I am able to get the list of VMs by using the command esxcli vm process list . Can I execute command on the VM without doing SSH to VM seperatly?

using vmrun tool: see ref: vmrun command

eg: vmrun -T ws -gu runScriptInGuest Win2k\\Win2k.vmx C:\\perl\\perl.exe C:\\script.pl

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM