Hello, I have a question!
Is it possible to controll a Virtual Machine (Guest) and/or Host while using text scripts like, for excample:
// For Guest Machine
C:\>vmcmd shutdown_vm_guest "VMGuestName"
or
// For Host
C:\>vmcmd shutdown_host "192.168.2.10"
under Microsoft Windows XP or Microsoft Windows 7?
Thanks for helping me!
Greetings from Germany
Michael
Are you using the free license for ESXi, or a paid-for license?
Thanks for answering my question!
We buy two Licens of ESX 4 (But we use ESXi 4).
with best regards
Michael
You should find what you need via vmcontrol.pl and hostops.pl that are included with the vCLI.
Where can I find thes Files under Windows XP or Windows 7!
XP is the System where VMWare vSphere Client is running on!
And I want to run the script on that Machine
Thanks!
Michael
You need to download and install vCLI: http://www.vmware.com/support/developer/vcli/
Those perl scripts are located under C:\Program Files\VMware\VMware vSphere CLI\Perl\apps (on a 32-bit OS). For example, go to a command window and change directory to C:\Program Files\VMware\VMware vSphere CLI\Perl\apps\vm then enter "perl vmcontrol.pl --help" for some instructions.
Hope that helps.
Thanks allot! That's what I'm searching for!
Greetings from Germany
Michael Burkhardt