Skip to content
ChartForgeX
Command

New-ImageConsoleStoryCommand

Module imageplayground
Inputs
None
Outputs
ImagePlayground.PowerShell.ImageConsoleStoryStep

Creates a typed command step for an ImagePlayground console story.

Syntax

New-ImageConsoleStoryCommand [-DurationSeconds <Double>] [-Text] <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Show a PowerShell command

New-ImageConsoleStoryCommand -Text 'Get-Service -Name WinRM'

The command is presented but never executed.

Parameters

-DurationSeconds Double optional
Explicit typing duration in seconds, or zero to use automatic timing.
-Text String requiredposition: 0
Command text shown after the configured terminal prompt.

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.

Outputs

ImagePlayground.PowerShell.ImageConsoleStoryStep: Use the console story command, output, table, blank-line, pause, tab, and tab-selection cmdlets to create steps.