Skip to content

Commit 1b6043f

Browse files
SteveL-MSFTv-alje
authored andcommitted
add -RepeatHeader switch
1 parent 1e0187c commit 1b6043f

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

reference/6/Microsoft.PowerShell.Utility/Format-Table.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Formats the output as a table.
1717
## SYNTAX
1818

1919
```
20-
Format-Table [[-Property] <Object[]>] [-AutoSize] [-HideTableHeaders] [-Wrap] [-GroupBy <Object>]
21-
[-View <string>] [-ShowError] [-DisplayError] [-Force] [-Expand <string>] [-InputObject <psobject>]
22-
[<CommonParameters>]
20+
Format-Table [-AutoSize] [-RepeatHeader] [-HideTableHeaders] [-Wrap] [[-Property] <Object[]>]
21+
[-GroupBy <Object>] [-View <String>] [-ShowError] [-DisplayError] [-Force] [-Expand <String>]
22+
[-InputObject <PSObject>] [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
@@ -427,6 +427,23 @@ Accept pipeline input: False
427427
Accept wildcard characters: False
428428
```
429429

430+
### -RepeatHeader
431+
Repeats displaying the header of a table after every screen full.
432+
This is most useful when the output is piped to a pager such as `less` or
433+
`more` or paging and using a screen reader.
434+
435+
```yaml
436+
Type: SwitchParameter
437+
Parameter Sets: (All)
438+
Aliases:
439+
440+
Required: False
441+
Position: Named
442+
Default value: None
443+
Accept pipeline input: False
444+
Accept wildcard characters: False
445+
```
446+
430447
### CommonParameters
431448

432449
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,

0 commit comments

Comments
 (0)