machine_reset
Hard-reset desktop machine(s), discarding unsaved state. Preview affected machines and users first, then confirm to execute. Refuses reset when machine state cannot be read.
Instructions
[WRITE] Hard-reset desktop machine(s) — the user loses unsaved state.
A bare call returns blast_radius (machine ids, names, states, assigned users) and resets nothing; confirm=True resets. A machine whose state cannot be read is refused. Show blast_radius to the user and wait for their decision. Do not set confirm=True on your own because the user asked for this earlier: they have not seen the blast radius yet. For a graceful in-guest reboot use vmware-aiops (the vCenter VM). Audited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Horizon target from config.yaml; omit to use the default. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True resets. | |
| machine_ids | Yes | Machine ids to reset (from machine_list). |