PowerShell Logo Small

Start-Transcript



This is the built-in help made by Microsoft for the command 'Start-Transcript', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a record of all or part of a Windows PowerShell session in a text file.

SYNTAX


Start-Transcript [[-Path] <String>] [-Append] [-Force] [-NoClobber] [-Confirm] [-WhatIf] [<CommonParameters>]
Start-Transcript [[-LiteralPath] <String>] [-Append] [-Force] [-NoClobber] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Start-Transcript cmdlet creates a record of all or part of a Windows PowerShell session in a text file. The transcript includes all command that the user types an
d all output that appears on the console.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=289793
Stop-Transcript

REMARKS

<

Examples


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

PS C:\>start-transcript



This command starts a transcript in the default file location.








-------------------------- EXAMPLE 2 --------------------------

PS C:\>start-transcript -path c:\transcripts\transcript0.txt -noclobber



This command starts a transcript in the Transcript0.txt file in C:\transcripts. The NoClobber parameter prevents any existing files from being overwritten. If the Tra
nscript0.txt file already exists, the command fails.