# New-ImageConsoleStoryCommand

Creates a typed command step for an ImagePlayground console story.

 Command  

**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>]
```

 [#](#method-new-imageconsolestorycommand-double-string) 

Parameter set: `All Parameter Sets`

## Examples

### Show a PowerShell command

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

## Outputs

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

<!-- PowerForge markdown artifact sha256:53A1260661A331DE77ADA736B2DE26E827B22436073D58F80B94326B7C3596DF -->
