*** ประเภท Parameters ต่างๆ ต้องมี – – ไม่ใช่ แค่ – (เพราะใน Edit ของ WordPress ใส่ – 2 ตัวแต่ทำไมหน้าที่โชว์ขึ้นตัวเดียวไม่รู้)
VMpowerOps
Parameters:
* vmname [optional] : Name of the virtual machine
* operation [optional] : Type of the operation
* folder [optional] : Name of the folder
* datacenter [optional] : Name of the datacenter
* pool [optional] : Name of the resource pool
* ipaddress [optional] : ipaddress of the virtual machine
* guestid [optional] : guestid of the virtual machine
* host [optional] : Name of the host
* operation [optional] : Name of the Operation
Command Line:
java -Djavax.net.ssl.trustStore=%VMKEYSTORE% com.vmware.samples.vm.VMpowerOps –url <webserviceurl> –username <username> –password <password> –operation <operation name|reboot|poweron|poweroff|reset|standby|suspend|shutdown> –folder <myfolder> –guestid <winXPProGuest|any other> –datacenter <mydatacenter>
Example. – PowerOn
java -Djavax.net.ssl.trustStore=%VMKEYSTORE% com.vmware.samples.vm.VMpowerOps –url https://esxi/sdk –username root –password 222222 –operation poweron –vmname Windows_Server_2003
Read the rest of this entry »