SSMS Complains of "Inconsistent Line Endings" with PowerShell Output
Apr 13, 2017· 1 min read ·
Share on:
If you've used Out-File, Set-Content or Add-Content to create a SQL file, you may notice that SQL Server Management Studio complains about normalizing the line breaks.
If you see this, simply using -Encoding UTF8 for your output instead of ASCII, the default, will solve the problem.