Show-ConsoleReplay
Rewinds a recorded run: an in-terminal player with a timeline, markers, failures, warnings and log search.
Syntax
Show-ConsoleReplay [-Dashboard] <IWidget> [-Height <Int32>] [-Inline] [[-Path] <String>] [-Paused] [-Speed <Double>] [-Title <String>] [<CommonParameters>]#All Parameter SetsDescription
Rewinds a recorded run: an in-terminal player with a timeline, markers, failures, warnings and log search.
Plays a recording (written by Start-ConsoleDashboard -RecordPath or -AutoRecord) into the same dashboard and lets you move through it: space plays and pauses, left and right step frame by frame, + and - change the speed, PgUp and PgDn scrub, Home and End jump to the ends, n/p jump to the next or previous marker, f/F to failures, w/W to warnings, l/L to log entries, and / searches the log text (Enter for the next match). Markers are added while recording with Send-ConsoleEvent -Target '$marker' -Operation mark -Text 'label'. Without -Path the newest automatic recording is played. Without an interactive console the markers are printed as lines.
Examples
EXAMPLE 1
Show-ConsoleReplay -Dashboard 'Value'Parameters
- -Dashboard IWidget
- The dashboard (or any widget tree) whose widget names match the recording.
- -Height Int32
- The height of the recorded screen in rows (default the window, or the dashboard's own height inline).
- -Inline SwitchParameter
- Plays below the cursor instead of on the whole window.
- -Path String
- The recording file; default the newest file in the automatic recording folder.
- -Paused SwitchParameter
- Opens paused at the start.
- -Speed Double
- The starting speed, 0.25 to 16 (default 1).
- -Title String
- The run name in the header (default the recorded dashboard title, or the file name for other widget trees). A recorded dashboard's own header and footer are not replayed: its title, subtitle and status show in the player's header.
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.