PowerShell Logo Small

Start-Transcript



This is the built-in help made by Microsoft for the command 'Start-Transcript', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' 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>]



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 t
hat 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 --------------------------

C:\PS>start-transcript



Description
-----------
This command starts a transcript in the default file location.








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

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



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