คำสั่ง PowerOff VMware Guest ง่าย ๆ เฝื่อเพื่อน ๆ จะเอาไว้ PowerOff แบบเป็น Script นะครับ .. (VMware CLI มีความสามารถเยอะจริง)
Login in unsupported mode:
Press <alt> + <f1> and type “unsupported” <enter>
List all running VMs:
vim-cmd vmsvc/getallvms
Kill VM with vm id:
vim-cmd vmsvc/poweroff <vm id>
[root@tempvm ~]# vim-cmd --help
Invalid option specified '--help'. Only single options are supported.
Usage: /usr/lib/vmware/bin/vmware-vim-cmd [options]... command [cmd_arg1] [cmd_arg2] ...
Options:
-h Display this help message and exit
-v Display version information and exit
-H <host> Host name to connect
-O <port> Port number to connect
-U <user> User name to use for login
-P <pass> Password to use for login
-d <level> Show verbose debug output. (info, verbose, trivia)
Use the help command to get information on the commands available.
/usr/lib/vmware/bin/vmware-vim-cmd help [command]