list_vms
Lists virtual machines on a standalone ESXi host or groups them by host within a vCenter datacenter.
Instructions
List VMs on a target.
Standalone ESXi: lists all VMs on the host.
vCenter: groups VMs by host within the specified datacenter (defaults to the target's configured datacenter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| datacenter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |