Start-Transcript Now Available in the PowerShell ISE in PowerShell v5

*Warning. This article was written using the September 2014 PowerShell v5 Preview*

PowerShellZip01

Prior to PowerShell v5 it was not possible to use Start-Transcript in the PowerShell ISE, it could only be used in the standard PowerShell console. You would receive the error:


Start-Transcript : This host does not support transcription.

PowerShellStartTranscript01

(There were alternatives to get round it , and here)

Now in PowerShell v5 it can be used natively:


Start-Transcript -Path C:\Test\Transcript.txt
Get-Service
Stop-Transcript

Start-Transcript

PowerShellStartTranscript02

Run your commands (in this example just one, Get-Service). Then Stop-Transcript

PowerShellStartTranscript03

Now view the transcript  file


notepad C:\Test\Transcript.txt

PowerShellStartTranscript04

 

Leave a Reply

Your email address will not be published. Required fields are marked *