< Back

Stop-Transcript

Thu Apr 04, 2019 5:41 am

NAME 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.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



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.



*



Example 1: Stop all transcripts



PS C:\\>Stop-Transcript



This command stops all transcripts.



RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=821533

Start-Transcript