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