Powershell script Export-CSV cutoff characters in a string of a .TXT files with Comma

1 .. $Count | ForEach-Object { $i = $_.ToString($Length) $Offset = $BatchSize * ($_ – 1) $outputFile = $ParentDirectory + "\" + $strBaseName + "-" + $i + $strExtension If($_ -eq 1) { $objFile | Select-Object -First $BatchSize | Export-Csv $outputFile -NoTypeInformation -Encoding UTF8 } Else { $objFile | Select-Object -First $BatchSize -Skip $Offset |… Read More Powershell script Export-CSV cutoff characters in a string of a .TXT files with Comma