Getting query text from SSMS into a CSV with PowerShell
You have times where you need to copy/paste something out of SSMS' grid view results pane that has a carriage return in it. Trying to copy/paste that data into Excel can be a headache and cause you to waste precious time reformatting. This just offers a tidbit of PowerShell code to help.
2018-03-23 (first published: 2015-09-07)