Hello,
ExecuteSQLFile $SQLInstance $hsInputFile | Out-File -filePath $hsOutputFile
(Get-Content $hsOutputFile | Select-Object -Skip 2) | Set-Content $hsOutputFile
Does anyone know of any easier/cleaner way? I know I can export to CSV, but I get double quotes around each row which then need to be removed. Unfortunately, there is an area of my output that needs double quotes so removing the double quotes becomes problematic.
Thank you