Skip to main content
2 of 2
added 15 characters in body
mustaccio
  • 26.9k
  • 24
  • 58
  • 74

Use the -delimiter parameter specified in the online help for export-csv

$DataSet.Tables[0] | Export-csv "G:\Text.txt" -NoTypeInformation -delimiter "|"
Bob Klimes
  • 3.3k
  • 1
  • 19
  • 30