API Reference
New-ImageConsoleStoryTable
Creates a typed table step from ordinary PowerShell objects.
Remarks
Property selects source properties, Header optionally replaces their displayed names, and Align maps a property or displayed header to Left or Right alignment.
Examples
Build a table from pipeline objects
PS>
$projects | New-ImageConsoleStoryTable -Property Name, Language, Stars -Header PROJECT, STACK, STARS -Align @{ Stars = 'Right' }
Creates one table step without exposing the ChartForgeX table builder.
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.
Syntax
New-ImageConsoleStoryTable [-Align <IDictionary>] [-Header <String[]>] -InputObject <PSObject[]> -Property <String[]> [<CommonParameters>]#All Parameter SetsParameters
- Align IDictionary
- Column alignment keyed by source property or displayed header. Values are Left or Right.
- Header String[]
- Displayed column names. Defaults to Property.
- InputObject PSObject[]
- Objects used as table rows.
- Property String[]
- Source properties included in the table, in display order.
Outputs
ImagePlayground.PowerShell.ImageConsoleStoryStep: Use the console story command, output, table, blank-line, pause, tab, and tab-selection cmdlets to create steps.