reset_or_restart_sessions
Power-cycle or gracefully reboot one or more Horizon VDI VM sessions by specifying session IDs and choosing reset or restart. Use reset for immediate hard reboot, risking data loss; restart for a cleaner reboot that logs the user off first.
Instructions
Reset or restart the virtual machine backing one or more sessions.
CAUTION: Both actions will terminate the user's session. reset is a hard power-cycle and may cause data loss. restart attempts a graceful reboot but the session will still end. Always confirm with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | reset: hard power-cycle the VM (immediate, may cause data loss). restart: graceful reboot of the VM (user is logged off first). | |
| session_ids | Yes | List of session IDs to act on |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||