Stop-Transcript
Stops a transcript.
Stop-Transcript
[-WhatIf]
[-Confirm]
[<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.
Stop-Transcript
This command stops all transcripts.
Prompts you for confirmation before running the cmdlet.
This parameter was added in PowerShell 7.4.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
This parameter was added in PowerShell 7.4.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
None
You can't pipe objects to this cmdlet.
This cmdlet returns a string that contains a status message and the path to the output file.
If a transcript hasn't been started, the command fails.
PowerShell feedback
PowerShell is an open source project. Select a link to provide feedback: