vm_power
Start, gracefully shut down, save, pause, resume, forcibly turn off, or reset a Hyper-V VM. Turn_off and reset require confirm_vm equal to vm_name.
Instructions
Start, gracefully shut down, save, pause, resume, forcibly turn off, or reset a VM. turn_off/reset require confirm_vm equal to vm_name. Requires ALLOW_POWER and an allowlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| vm_name | Yes | ||
| confirm_vm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||