How can i export a csv in PowerShell then in the same script
How can i export a csv in PowerShell then in the same script Import the same csv in PowerShell.
Solution
$test = import-csv c:\\test.csv
$test | foreach-object {
$_.date = $_.date.replace(\"[\",\"\")
$_.time = $_.time.replace(\"]\",\"\")
}
$test | export-csv new-test.csv -notype
[string](0..33|%{[char][int](46+(\"686552495351636652556262185355647068516270555358646562655775 0645570\").substring(($_*2),2))})-replace \" \"
