Cmdlet
Update-ConsoleTable
Adds, updates, removes or clears rows of a live table (New-ConsoleLiveTable) in the running dashboard.
Syntax
Update-ConsoleTable [-Key] <String> [-Name <String>] [-Session <LiveSession>] [[-Value] <Object[]>] [<CommonParameters>]#Parameter set:
RowUpdate-ConsoleTable [-Key] <String> [-Name <String>] -Remove [-Session <LiveSession>] [<CommonParameters>]#Parameter set:
RemoveUpdate-ConsoleTable -Clear [-Name <String>] [-Session <LiveSession>] [<CommonParameters>]#Parameter set:
ClearDescription
Adds, updates, removes or clears rows of a live table (New-ConsoleLiveTable) in the running dashboard.
-Key identifies the row: a new key adds a row, an existing key replaces its values. -Remove deletes the row and -Clear deletes them all; the column widths stay.
Examples
EXAMPLE 1
Update-ConsoleTable -Key 'Value'EXAMPLE 2
Update-ConsoleTable -ClearEXAMPLE 3
Update-ConsoleTable -Key 'Value' -RemoveParameters
- -Key String
- The stable row key.
- -Name String
- The live table name (default table).
- -Session LiveSession
- The live session to update. Defaults to $ConsoleSession or the running dashboard.
- -Value Object[]
- The values, one per column (numbers, dates, durations and statuses go through the column presenters).
- -Remove SwitchParameter
- Removes the row with that key.
- -Clear SwitchParameter
- Removes every row.
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.