Skip to content

Stop-Transcript

SYNOPSIS

Stops a transcript.

SYNTAX

Stop-Transcript [<CommonParameters>]

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.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

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.

*

Start-Transcript

Back to top