wer restart
Restart one or more workstations by stopping and starting them.
Usage
wer restart <type> <name> [name ...] [flags] Description
The restart command stops and then starts the specified workstations.
If a workstation is running, it will be stopped then started. If a workstation is
already stopped, it will just be started. This is useful for applying configuration
changes that require a reboot, or for recovering from a problematic state.
Arguments
| Argument | Description |
|---|---|
type | Resource type - must be workstation (or ws) |
name | One or more workstation names to restart |
Flags
| Flag | Description |
|---|---|
--wait | Wait for the workstation(s) to reach Running status before returning |
--wait-timeout | Maximum time to wait (e.g., 30s, 5m). 0 means no timeout |
Examples
# Restart a workstation
wer restart workstation my-vm
# Using the short alias
wer restart ws my-vm
# Restart multiple workstations
wer restart ws my-vm1 my-vm2 my-vm3
# Restart and wait until running
wer restart workstation my-vm --wait