Reputation: 699
A complete newbie with PowerShell here. I need to export data as a tab-delimited file and it looks like Export-Csv is the utility to use. I can't figure out how to specify the tab character though. I have tried
Export-Csv -Delimiter \t
and
Export-Csv -Delimiter "\t"
Upvotes: 3
Views: 7941
Reputation: 699
Found the answer here: How do I type a TAB character in PowerShell?.
Basically use "`t" (back-tick t in double quotes) to specify a tab in PS.
Upvotes: 4