Consider removing Format-Table
's hard 10-column limit in the absence of a -Property
argumentΒ #20108
Open
Description
Summary of the new feature / enhancement
Format-Table
appears to have a hard-coded limit of 10 output columns in the absence of -Property *
(or a -Property
argument with more than 10 property names), which isn't necessary if the terminal width can accommodate additional columns (whether with or without -AutoSize
).
E.g. there's no reason not to render all 11 columns in the following example:
[pscustomobject] @{
'p1'=1;
'p2'=1;
'p3'=1;
'p4'=1;
'p5'=1;
'p6'=1;
'p7'=1;
'p8'=1;
'p9'=1;
'p10'=1;
'p11'=1;
} | Format-Table
Proposed technical implementation details (optional)
No response