{"id":3188,"date":"2014-06-16T23:49:18","date_gmt":"2014-06-16T15:49:18","guid":{"rendered":"http:\/\/rmohan.com\/?p=3188"},"modified":"2014-06-16T23:49:18","modified_gmt":"2014-06-16T15:49:18","slug":"vm-operations-in-esxi-4-1-esxi-5-5-command-line","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3188","title":{"rendered":"VM Operations in ESXi 4.1 ESXi 5.5 Command Line"},"content":{"rendered":"<p><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">List all the VMs running on the host:<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">~ # vim-cmd vmsvc\/getallvms<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">Vmid \u00a0 \u00a0 Name \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0File \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Guest OS \u00a0 \u00a0 \u00a0Version \u00a0 Annotation<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">612 \u00a0 \u00a0vm_name1 \u00a0 \u00a0[datastore] vm_name1\/vm_name1.vmx \u00a0 \u00a0 rhel6_64Guest \u00a0 vmx-10<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">633 \u00a0 \u00a0vm_name2 \u00a0 \u00a0[datastore] vm_name2\/vm_name2.vmx \u00a0 \u00a0 rhel6_64Guest \u00a0 vmx-10<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">646 \u00a0 \u00a0vm_name3 \u00a0 \u00a0[datastore] vm_name3\/vm_name3.vmx \u00a0 \u00a0 rhel6_64Guest \u00a0 vmx-10<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">647 \u00a0 \u00a0vm_name4 \u00a0 \u00a0[datastore] vm_name4\/vm_name4.vmx \u00a0 \u00a0 rhel6_64Guest \u00a0 vmx-10<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">664 \u00a0 \u00a0vm_name5 \u00a0 \u00a0[datastore] vm_name5\/vm_name5.vmx \u00a0 \u00a0 rhel6_64Guest \u00a0 vmx-10<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">To poweroff a VM<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><a style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" name=\"more\"><\/a><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">vim-cmd vmsvc\/power.off 612 \u00a0 #here 612 is a vim id<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">To poweron a VM<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">vim-cmd vmsvc\/power.on 612 \u00a0 #here 612 is a vim id<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">There are somany commands you can use are as below:<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; text-decoration: underline; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">Commands available under<span class=\"Apple-converted-space\">\u00a0<\/span><span style=\"font-size: large;\">vmsvc\/<\/span>:<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">acquiremksticket \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 get.snapshotinfo<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">acquireticket \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0get.spaceNeededForConsolidation<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">connect \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 get.summary<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">convert.toTemplate \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0get.tasklist<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">convert.toVm \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 getallvms<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">createdummyvm \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 gethostconstraints<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">destroy \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0login<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.connection \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0logout<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.connusbdev \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0message<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.disconnusbdev \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 power.getstate<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.diskadd \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 power.hibernate<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.diskaddexisting \u00a0 \u00a0 \u00a0 \u00a0 power.off<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.diskremove \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0power.on<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.getdevices \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0power.reboot<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.toolsSyncSet \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0power.reset<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.vmiadd \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 power.shutdown<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">device.vmiremove \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0power.suspend<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">devices.createnic \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 power.suspendResume<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">disconnect \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0queryftcompat<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.capability \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 reload<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.config \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0setscreenres<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.config.cpuidmask \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0snapshot.create<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.configoption \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 snapshot.dumpoption<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.datastores \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0snapshot.get<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.disabledmethods \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 snapshot.remove<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.environment \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0snapshot.removeall<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.filelayout \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0snapshot.revert<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.filelayoutex \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0snapshot.setoption<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.guest \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 tools.cancelinstall<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.guestheartbeatStatus \u00a0 \u00a0tools.install<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.managedentitystatus \u00a0 \u00a0 tools.upgrade<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.networks \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 unregister<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><span style=\"font: 13px\/20.79px Georgia, 'Times New Roman', serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\">get.runtime \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 upgrade<\/span><br style=\"font: 13px\/20.79px Arial, serif; text-align: left; color: #333333; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff; -webkit-text-stroke-width: 0px;\" \/><br class=\"Apple-interchange-newline\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>List all the VMs running on the host:~ # vim-cmd vmsvc\/getallvmsVmid Name File Guest OS Version Annotation612 vm_name1 [datastore] vm_name1\/vm_name1.vmx rhel6_64Guest vmx-10633 vm_name2 [datastore] vm_name2\/vm_name2.vmx rhel6_64Guest vmx-10646 vm_name3 [datastore] vm_name3\/vm_name3.vmx rhel6_64Guest vmx-10647 vm_name4 [datastore] vm_name4\/vm_name4.vmx rhel6_64Guest vmx-10664 vm_name5 [datastore] vm_name5\/vm_name5.vmx rhel6_64Guest vmx-10To poweroff a VMvim-cmd vmsvc\/power.off 612 #here 612 is a vim idTo poweron a [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3188"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3188"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3188\/revisions"}],"predecessor-version":[{"id":3190,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3188\/revisions\/3190"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}