Skip to content
ConsoleMonster
Cmdlet

New-ConsolePhases

Module ConsoleMonster
Inputs
None
Outputs
ConsoleMonster.Widgets.Phases

Creates a phase strip for pipelines: Restore › Build › Test › Pack.

Syntax

New-ConsolePhases [-Name <String>] [-Phase] <String[]> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Creates a phase strip for pipelines: Restore › Build › Test › Pack.

The active phase is emphasised and finished phases show their duration. Update phases live with Update-ConsolePhase.

Examples

Authored help example

EXAMPLE 1

New-ConsolePhases -Phase @('Value')

Parameters

-Name String optional
The live name (default phases).
-Phase String[] requiredposition: 0
The phases in order.

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.