ConvertTo-Csv Output without quotes

前端 未结 14 970
慢半拍i
慢半拍i 2020-12-01 08:03

I am using ConvertTo-Csv to get comma separated output

 get-process | convertto-csv -NoTypeInformation -Delimiter \",\"

It out

14条回答
  •  無奈伤痛
    2020-12-01 08:52

    Once the file is generated, you can run

    set-content FILENAME.csv ((get-content FILENAME.csv) -replace '"')
    

提交回复
热议问题