Greetings,
I have the following code:
$col=@(
[PSCustomObject]@{"partno"="12345"}, [PSCustomObject]@{"support_file"="part.txt"}, [PSCustomObject]@{"readme"="none"},
[PSCustomObject]@{"version"="4.0"})
#
$col | Format-Table
On Windows 7, PS version 2.0:
Name Value
---- -----
partno 12345
support_file part.txt
readme none
version 4.0
Looks good, nice table format...
On Windows 7, PS version 4.0:
partno
------
12345
Same code, different results? What can I do to get the 2.0 table version to work on the PS 4.0 version? It would be helpful if whatever was done for 4.0 to be backwards compatible, but if I can just get the table format to work like it did on 2.0 I'll be happy. Any ideas?
Thanks
Tom
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 294 |
Nodes: | 16 (2 / 14) |
Uptime: | 243:56:20 |
Calls: | 6,626 |
Calls today: | 2 |
Files: | 12,175 |
Messages: | 5,320,318 |