Using sqlcmd CLI for SQL Server Apr 3, 2021 mssql mssql-tools sqlcmd cli
Query SQL Server from PowerShell Apr 3, 2021 mssql powershell sqlcmd cli