Wanted to mention that Windows PowerShell supports pretty CSV printing out of the box, like so
Import-Csv .\Levels.csv | Format-Table
Count Level elevation Level name Name Object type Unique ID
----- --------------- ---------- ---- ----------- ---------
1 -600.0000000 Store -0,600 - Store Level dc611fed-1783-d759-053a-b19848c51491
1 2850.0000000 Store +2,850 - Store Level c59f2ae4-0e94-6ea0-bd82-8306971e628c
1 3350.0000000 Roof +3,350 - Roof Level 7b487ac2-e102-dc23-6ad9-81c39124de1d
Shameless plug, but so does my shell, https://github.com/lmorg/murex
$ open test/example.csv | format generic
Login email Identifier One-time password Recovery code First name Last name Department Location
[email protected] 9012 12se74 rb9012 Rachel Booker Sales Manchester
[email protected] 2070 04ap67 lg2070 Laura Grey Depot London
[email protected] 4081 30no86 cj4081 Craig Johnson Depot London
[email protected] 9346 14ju73 mj9346 Mary Jenkins Engineering Manchester
[email protected] 5079 09ja61 js5079 Jamie Smith Engineering Manchester
My shell also aims to have closer compatibility with POSIX (albeit it's not a POSIX shell) so you can use all the same command line tools you're already familiar with too (which, for me at least, was the biggest hurdle in my adoption of PowerShell).It also supports other file types out of the box too. eg jsonlines
$ open test/example.csv | format jsonl
["Login email","Identifier","One-time password","Recovery code","First name","Last name","Department","Location"]
["[email protected]","9012","12se74","rb9012","Rachel","Booker","Sales","Manchester"]
["[email protected]","2070","04ap67","lg2070","Laura","Grey","Depot","London"]
["[email protected]","4081","30no86","cj4081","Craig","Johnson","Depot","London"]
["[email protected]","9346","14ju73","mj9346","Mary","Jenkins","Engineering","Manchester"]
["[email protected]","5079","09ja61","js5079","Jamie","Smith","Engineering","Manchester"]