14 lines
440 B
PowerShell
14 lines
440 B
PowerShell
# Parameters
|
|
$inputFilePath = "./QueryResult.csv"
|
|
$outputFilePath = "./CleanResults.csv"
|
|
|
|
# Read the content of the file
|
|
$content = Get-Content -Path $inputFilePath -Raw
|
|
|
|
# Remove all double quotes
|
|
$contentWithoutQuotes = $content -replace '"', ''
|
|
|
|
# Write the modified content to a new file
|
|
$contentWithoutQuotes | Set-Content -Path $outputFilePath -NoNewline
|
|
|
|
Write-Output "Quotes removed. New file saved as: $outputFilePath" |