Cmdlet
Add-ConsoleValue
Adds a value to a chart in a running dashboard.
Syntax
Add-ConsoleValue [-Key <String>] [-Name] <String> [-Session <LiveSession>] [-Value] <Double> [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Adds a value to a chart in a running dashboard.
Appends to a sparkline or line-chart series (-Key names the series), counts a value in a histogram, or adds to a bar or stacked-bar segment (-Key names it).
Examples
EXAMPLE 1
Add-ConsoleValue -Name 'Name' -Value 1Parameters
- -Key String
- The series, bar or segment.
- -Name String
- The chart name.
- -Session LiveSession
- The live session to update. Defaults to $ConsoleSession or the running dashboard.
- -Value Double
- The value.
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.