2V0-621D · Question #124
An administrator wants to power on a virtual machine (VM) while connected to an ESXi host using SSH. The VM has the following Name and ID: - VM Name = SQL001 - VMID = 12345 Which command would…
The correct answer is A. vim-cmd vmsvc/power.on 12345. To power on a virtual machine on an ESXi host via SSH, the vim-cmd utility must be used with the vmsvc/power.on subcommand, specifying the virtual machine's unique numerical ID.
Question
An administrator wants to power on a virtual machine (VM) while connected to an ESXi host using SSH. The VM has the following Name and ID:
- VM Name = SQL001
- VMID = 12345
Which command would successfully power on the virtual machine?
Options
- Avim-cmd vmsvc/power.on 12345
- Bvim-cmd vmsvc/power.on SQL001
- Cvmware-vim-cmd vmsvc/power.on 12345
- Dvmware-vim-cmd vmsvc/power.on SQL001
How the community answered
(20 responses)- A85% (17)
- B5% (1)
- D10% (2)
Why each option
To power on a virtual machine on an ESXi host via SSH, the `vim-cmd` utility must be used with the `vmsvc/power.on` subcommand, specifying the virtual machine's unique numerical ID.
The `vim-cmd` utility is the correct command-line tool on ESXi for VM management, and `vmsvc/power.on` is the specific subcommand to power on a VM, requiring the numerical VMID (12345) as an argument.
This command is incorrect because `vim-cmd vmsvc/power.on` requires the virtual machine's numerical ID, not its name (SQL001), to successfully power it on.
The command `vmware-vim-cmd` is incorrect; the proper utility for managing virtual machines from the ESXi command line is `vim-cmd`.
This command uses the incorrect utility `vmware-vim-cmd` and also attempts to use the VM name instead of the required numerical VMID.
Concept tested: ESXi command-line VM management (vim-cmd)
Source: https://kb.vmware.com/s/article/1006160
Topics
Community Discussion
No community discussion yet for this question.