Skip to content
ConsoleMonster
Cmdlet

Add-ConsoleValue

Module ConsoleMonster
Inputs
System.Double

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 Sets

Description

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

Authored help example

EXAMPLE 1

Add-ConsoleValue -Name 'Name' -Value 1

Parameters

-Key String optional
The series, bar or segment.
-Name String requiredposition: 0
The chart name.
-Session LiveSession optional
The live session to update. Defaults to $ConsoleSession or the running dashboard.
-Value Double requiredposition: 1pipeline: True (ByValue)
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.