Copy Azure Role scripts

This commit is contained in:
robbwilcox
2024-10-05 12:23:48 -05:00
parent c6f38e7baf
commit d15fc821c6
7 changed files with 271 additions and 0 deletions

14
clean_csv.ps1 Normal file
View File

@@ -0,0 +1,14 @@
# 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"