machine_reset
Hard-reset VDI desktop machines, erasing unsaved user state. Preview which machines and users are affected before confirming the reset.
Instructions
[WRITE] Hard-reset desktop machine(s) — the user loses unsaved state.
confirm=False previews the blast radius (machine count + assigned users) without acting; confirm=True resets. For a graceful in-guest reboot use vmware-aiops (the vCenter VM). Audited.
Args: machine_ids: Machine ids to reset (from machine_list). confirm: False previews; True resets. target: Horizon target from config.yaml; omit to use the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| confirm | No | ||
| machine_ids | Yes |