ConvertTo-Csv Output without quotes
Here is a way to remove the quotes
get-process | convertto-csv -NoTypeInformation -Delimiter "," | % {$_ -replace '"',''}
But it has a serious drawback if one of the item contains a "
it will be removed !
Hmm, I have Powershell 7 preview 1 on my mac, and Export-Csv
has a -UseQuotes
option that you can set to AsNeeded
. :)