Skip to content

Enable repeating table headers with Format-Table #8455

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature/enhancement

Currently, when using Format-Table and the number of rows is more than the screen buffer,
the table header is scrolled off the screen and the rows don't have context on the meaning
of each cell.

This is particularly troublesome for users using a screen reader as it is likely they will lose context of the meaning of the different columns after a moderate number of rows is read.

Proposed technical implementation details (optional)

Add a new switch called -RepeatHeader (suggestions welcome on naming) where after every screen buffer full of rows, the table header is repeated. Note that because we cannot detect definitively that the output isn't being paged (where this is most useful), it is up to the user to pipe the output to a pager.

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions