Ik kwam VMRUN tegen in een post op de site: http://itknowledgeexchange.techtarget.com/virtualization-pro/ hier stond ook een link naar het volgende document: http://www.vmware.com/pdf/vix160_vmrun_command.pdf.
Hieronder laat ik even wat opties zien:
Power on a virtual machine with VMware Workstation on a Windows host:
vmrun start "drive:\path to vmx\vm.vmx"Power on a virtual machine with VMware Server 2.0:
vmrun -T server -h https://10.0.1.8/sdk -u root -p <pass> start "[storage1] WinXP/WinXP.vmx"Run CMD within the VM with VMware Workstation on a Windows host:
vmrun -T ws -gu <user> -gp <pass> runProgramInGuest WinXP\WinXP.vmx -activeWindow cmd.exeList processes in a Linux guest, and kill the process numbered 8192:
vmrun -T ws -gu <user> -gp <pass> listProcessesInGuest Ubuntu/Ubuntu.vmx
vmrun -T ws -gu <user> -gp <pass> killProcessesInGuest Ubuntu/Ubuntu.vmx 8192
List processes in a Linux guest, and kill the process numbered 8192:
vmrun -T ws -gu <user> -gp <pass> listProcessesInGuest Ubuntu/Ubuntu.vmx
vmrun -T ws -gu <user> -gp <pass> killProcessesInGuest Ubuntu/Ubuntu.vmx 8192
Best wel een krachtige tool. Toch had ik liever gezien dat VMware ook voor Workstation en Server een powershell omgeving had gemaakt. Misschien komt dit in de toekomst nog.
Pretty usefull. I’m gonna try as soon as possible….
Thank for the post.
vladan
Your blog is a very useful one for Vmware administrators and users. Keep up the good work.
– http://unixfoo.blogspot.com