Cmdlet
New-ConsoleFooterBar
Creates a reusable footer with key hints, messages and linked segments.
Syntax
Description
Hint maps key names to their labels. Segment accepts FooterSegment values or hashtables with Text, Link and Role. The footer is a widget and does not read input or start a session.
Examples
Example 1
New-ConsoleFooterBar -Hint ([ordered] @{ Enter = 'Accept'; Esc = 'Cancel' }) | Show-ConsoleShow navigation hints.
Parameters
- -Hint IDictionary
- An ordered dictionary of key names and action labels.
- -Indent Int32
- Initial indentation in terminal cells.
- -KeepLast SwitchParameter
- Keeps the last hint when space runs out.
- -Message Object
- A message shown instead of key hints.
- -Right Object
- Text at the right of the footer.
- -Segment Object[]
- FooterSegment objects or Text/Link/Role hashtables.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.