Stops a transcript. (Stop-Transcript)
# NAME
Stop-Transcript
# SYNOPSIS
Stops a transcript.
# SYNTAX
Stop-Transcript [<CommonParameters>]
# 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, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
# INPUTS
None
You cannot pipe input to this cmdlet.
# OUTPUTS
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.
# EXAMPLE 1
C:\PS>stop-transcript
# Description
-----------
This command stops any running transcripts.
RELATED LINKS
Online version: http://go.microsoft.com/fwlink/?LinkID=113415
Start-Transcript
C:\Windows>powershell get-help Add-Content -full
ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.