Stop-​Transcript

Stops a transcript.

Syntax

Stop-Transcript []

Description

The Stop-Transcript cmdlet stops a transcript that was started by the Start-Transcript cmdlet. Alternatively, you can end a session to stop a transcript.

Examples

Example 1: Stop all transcripts

Stop-Transcript

This command stops all transcripts.

Inputs

None

You cannot pipe input to this cmdlet.

Outputs

System.String

This cmdlet returns a string that contains a status message and the path to the output file.

Notes

  • If a transcript has not been started, the command fails.

*