Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Start-Transcript

Start-Transcript - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Start-Transcript

Description
Start a transcript of a command shell session

Usage
Start-Transcript [[-path] string] [-force] [-noClobber]
              [-append] [-whatIf] [-confirm] [CommonParameters]

Options
-Path string
       The path to the transcript file. 

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

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

   -confirm
       Prompt for confirmation before executing the command.

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

Example(s)
Start a transcript:

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