Command
New-ImageTableBlock
Creates a visual table block.
Syntax
New-ImageTableBlock
[-Column] <String[]>
[-Dense]
[-NoHeader]
[-NoRowStriping]
[-Row] <Object[]>
[-StatusColumn <String>]
[-Subtitle <String>]
[-Theme <ChartTheme>]
[-Title <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Rows can be arrays, hashtables, or PowerShell objects whose property names match the requested columns.
Examples
Create a service status table
New-ImageTableBlock -Title 'Services' -Column Name,Status -Row @{Name='API';Status='Healthy'},@{Name='Database';Status='Warning'} -DenseParameters
- -Column String[]
- Column headers.
- -Dense SwitchParameter
- Use compact row spacing.
- -NoHeader SwitchParameter
- Hide the table header.
- -NoRowStriping SwitchParameter
- Disable alternating row surfaces.
- -Row Object[]
- Rows represented as arrays, dictionaries, or PowerShell objects.
- -StatusColumn String
- Column that contains semantic status values.
- -Subtitle String
- Optional block subtitle.
- -Theme ChartTheme
- ChartForgeX theme.
- Possible values:
Default,Dark,Light,Colorblind,Aurora,Editorial,Candy,PeopleInfographic,Terminal,TransparentOverlayDark,Minimal,DashboardLight,SaasDashboardLight,RestaurantDashboardLight - -Title String
- Optional block title.
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.