Tom
unread,Feb 23, 2018, 12:27:38 PM2/23/18You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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