PowerShell Logo Small

Start-Transcript



This is the built-in help made by Microsoft for the command 'Start-Transcript', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' 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 [<SwitchParameter>]] [-Force [<SwitchParameter>]] [-NoClobber [<SwitchParameter>]] [-Confirm
[<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Start-Transcript [[-LiteralPath] <String>] [-Append [<SwitchParameter>]] [-Force [<SwitchParameter>]] [-NoClobber [<SwitchParameter>]]
[-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<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 and all output that appears on the console.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=113408
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 Transcript0.txt file already exists, the command fails.