hostedpi off

Power off one or more Raspberry Pi servers

Usage: hostedpi off [OPTIONS] [NAMES]...

Arguments

names [str ...]

Names of the Raspberry Pi servers to power off

If no names are given, all Pis in the account will be powered off

Options

--filter [str]

Search pattern for filtering server names

--help

Show this message and exit

Usage

Power off a Pi:

$ hostedpi off mypi
┏━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Name  ┃ Status       ┃
┡━━━━━━━╇━━━━━━━━━━━━━━┩
│ mypi  │ Powering off │
└───────┴──────────────┘

Power off multiple Pis by name:

$ hostedpi off mypi mypi2
┏━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Name  ┃ Status       ┃
┡━━━━━━━╇━━━━━━━━━━━━━━┩
│ mypi  │ Powering off │
│ mypi2 │ Powering off │
└───────┴──────────────┘

Power off multiple Pis with a filter:

$ hostedpi off --filter mypi
┏━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Name  ┃ Status       ┃
┡━━━━━━━╇━━━━━━━━━━━━━━┩
│ mypi  │ Powering off │
│ mypi2 │ Powering off │
│ mypi3 │ Powering off │
│ mypi4 │ Powering off │
└───────┴──────────────┘

Note

If no names of Pis are given, all Pis in the account will be powered off