DAC

This post is also available in: Español

Dedicated Administrative Connection: How to Enable the DAC for Remote Connections and Clusters

EXEC sp_configure ‘remote admin connections’, 1;
GO
RECONFIGURE
GO

Using console (cmd)

sqlcmd -A -UsysadminUser -PP4$$w0rd

sqlcmd options

sqlcmd -? — enjoy