# az serial-console

> Connect to the serial console of a Virtual Machine.
> Part of `azure-cli` (also known as `az`).
> More information: <https://learn.microsoft.com/cli/azure/serial-console>.

- Connect to a serial console:

`az serial-console connect --resource-group {{Resource_Group_Name}} --name {{Virtual_Machine_Name}}`

- Terminate the connection:

`<Ctrl>-]`
