Contact Info

Crumbtrail » Administration » Powershell » Powershell 1.0 » Start-Transcript

Start-Transcript - Powershell 1.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.


Start a transcript of a command shell session


-Path string
       The path to the transcript file. 

       Override restrictions that prevent the command from succeeding, apart
       from security settings. e.g. override a files read-only attribute.

       Do not overwrite an existing file.
       Add the new transcript to the end of an existing file.
       Describe what would happen if you executed the command without
       actually executing the command.

       Prompt for confirmation before executing the command.

       -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable.

Start a transcript:

PS C:\>start-transcript -path c:\docs\MyTranscript.txt