API Reference
Command
New-ImageConsoleStoryCommand
Creates a typed command step for an ImagePlayground console story.
Remarks
Creates a typed command step for an ImagePlayground console story.
Examples
Show a PowerShell command
PS>
New-ImageConsoleStoryCommand -Text 'Get-Service -Name WinRM'
The command is presented but never executed.
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.
Syntax
New-ImageConsoleStoryCommand [-DurationSeconds <Double>] -Text <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- DurationSeconds Double
- Explicit typing duration in seconds, or zero to use automatic timing.
- Text String
- Command text shown after the configured terminal prompt.
Outputs
ImagePlayground.PowerShell.ImageConsoleStoryStep: Use the console story command, output, table, blank-line, pause, tab, and tab-selection cmdlets to create steps.