---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 ]>`
