header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Start-Transcript --- Error
Last Post 17 Nov 2008 03:46 PM by EBGreen. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
TeslaUser is Offline
New Member
New Member
Posts:6
Avatar

--
17 Nov 2008 02:46 PM  

Start-Transcript : Transcription cannot be started.
At C:\DOCUME~1\GF440865\IMPOST~1\Temp\a5a6f5a4-2d98-4d0d-97bf-29feb1615495.ps1:
6 char:17
+ Start-Transcript  <<<< -path "c:\Scripts\$LogName" -NoClobber

 I've simply added    Start-Transcript -path "c:\Scripts\$LogName" -NoClobber

 at the beginning of my script (and Stop-Transcript at the end!!)

 

????

EBGreenUser is Offline
New Member
New Member
Posts:61
Avatar

--
17 Nov 2008 03:46 PM  
That error is indicative of a locked file. Do you possibly have a transcript already pointing at that file? Or could it possibly be in an ambiguous lock state from a prior run of the script?
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer