Cmdlet
Stop-ConsoleRecording
Stops recording from inside the recorded child shell.
Syntax
Stop-ConsoleRecording
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Sends a private terminal control to the parent recorder, which finalizes local files and closes this recorded child terminal. Run it inside a Start-ConsoleRecording session.
Examples
Example 1
Write-Host 'Deployment finished'
Stop-ConsoleRecordingFinish from inside the recorded child shell
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.