Skip to content
PowerShell Commands

Stop-Transcript

Stop-Transcript [<CommonParameters>]

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.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.

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.
Examples
  1. Stop all transcripts:
    PS C:\> Stop-Transcript
    

    This command stops all transcripts.

Additional Notes
 * If a transcript has not been started, the command fails.

 *

This work is licensed under a Creative Commons Attribution 4.0 International. It is attributed to Microsoft Corporation and can be found here.

PowerShell Commands