How to remove all quotations mark in the csv file using powershell script?
问题 I would like remove all quotations character in my exported csv file, it's very annoying when i generated a new csv file and i need to manually to remove all the quotations that include in the string. Could anyone provide me a Powershell script to overcome this problem? Thanks. $File = "c:\programfiles\programx\file.csv" (Get-Content $File) | Foreach-Object { $_ -replace """, "" } | Set-Content $File 回答1: Next time you make one, export-csv in powershell 7 has a new option you may like: export