Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Start-Transcript Error: Transcription Has Already Started

$
0
0

I have code that uses start and stop transcript. Everytime i run the start-transcript  I recieve an error that reads "Transcription has already been started. Use the stop-transcript command to stop transcription. I have tried to suppress this error with no luck using -ErrorAction 'SilentlyContinue'. I am using v2.0 and running this from the windows scheduler

Start-Transcript -Path 'C\AMScriptLog.txt' -Append
#Code Here
Stop-Transcript

Any ideas why this throws an error?

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>