Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Stop-Transcript

Updated: October 17, 2013

Applies To: Windows PowerShell 4.0

Stop-Transcript

Stops a transcript.

Syntax


Stop-Transcript [ <CommonParameters>]




Detailed Description

The Stop-Transcript cmdlet stops a transcript that was started by using the Start-Transcript cmdlet. You can also stop a transcript by ending the session.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

    You cannot pipe input to this cmdlet.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.String

    Stop-Transcript 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.

Examples

-------------------------- EXAMPLE 1 --------------------------

This command stops any running transcripts.


PS C:\> stop-transcript

Related topics



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.