I would like to get output from a SQL Server 2014 query without the header row (or the row with dashes -----). I'm running the queries from PowerShell using the invoke-sqlcmd
cmdlet. Either suppress it in SQL Server, or Powershell is fine with me.
I know that if it's only 1 column, I can
invoke-sqlcmd {command here}).column_name
But I can't figure out how to suppress the headers if I need multiple columns returned.