Has there been updates to transcription support in a PS 4 Windows Update? Behaviour has changed...

I utilise PowerShell transcription support heavily in my PS scripts. Essentially I utilise transcription as a replacement to having a logging framework - all logging is performed via Write-Host, Write-Verbose and Write-Debug calls, and then logged to file
via a call to Start-Transcript at the start of script execution.
Transcription support in PS versions prior to 5 is limited in that it is hard coded in the Start-Transcript and Stop-Transcript commands to throw an exception if the host is not an instance of Microsoft.PowerShell.ConsoleHost. Also, to make it even more difficult,
Stop-Transcript throws an error when there is no active transcript; but there is no way to detect if there is. Therefore, I use reflection to get the ConsoleHost.IsTranscribing internal property value to determine whether to call Stop-Transcript at script
completion. This logic has worked fine for PS versions 2, 3 and 4. However, more recently I believe a Windows Update patch has changed the way the transcription works. It appears that PS 4 now supports transcription functionality that I thought was PS 5 (CTP)
specific - nested transcription sessions (i.e. you can now continually call Start-Transcript and it will create more sessions, rather than throw an error when there is an active session).  Also, the internals of how transcription is managed must have
changed because the IsTranscribing property no longer returns the correct value. I am unsure if there is now a "supported" way of checking for this rather than hacking into the internals of the host. This change results in my script creating multiple
transcription sessions as it does not know there is already transcription started.
Does anyone know if there has been any updates in PS 4 for the transcription functionality? Or any other details regarding this?
Cheers

Hi Anna,
Thanks for the response. Can you make sense of the info below? Transcription appears completely broken
on the build on my machine, which I have not installed any PS CTP on. I am worried a hotfix such as KB3000850 which has also caused me the grief here:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/eaa4a532-5ff5-4a2f-89ce-7e72c71a8fb7/powershell-30-stuck-in-infinite-loop-resolving-members-internally-is-this-a-ps-bug?forum=winserverpowershell
https://connect.microsoft.com/PowerShell/feedback/details/1045858/add-member-cmdlet-invokes-scriptproperty-members-when-adding-new-member
...has been installed via Windows Update. I am running Windows 8.1 and all latest updates applied as at 23 April.
My $PSVersionTable is the same as yours except for "BuildVersion" 6.3.9600.17400. I can also call Start-Transcript continually and it will keep creating sessions. Once I do this all sessions receive data once I
enter more commands in the console (i.e. each file is getting the same data). This is the behaviour I would have expected in PS 5 with the transcription updates, but not in a PS 4 update.
NOTE: In addition to this, the data being fed into the transcription file is NOT the same format as the standard transcription format. The transcription file contains different data and
is not a true reflection of what is on the console). The following data is being output to the transcription file after each command:
CurrentMatchIndex              ReplacementIndex             ReplacementLength CompletionMatches
                           -1                            
0                             8 {System.Management.Automat...
In addition to that (I haven't had a chance to look into this in detail), but the log files that are being generated by the PS module I have written are now containing a heap of contents that appear to be generated each time an exception
is thrown (even if it has been caught?)
"PS>TerminatingError(Invoke-Expression): xxxxxxx" and
"PS>TerminatingError(): "The pipeline has been stopped.""
messages, but no host, verbose, or debug data (i.e. terminating error details only, which I have never seen in the transcript file before). That's correct -
the transcription file doesn't contain any of the data it used to, just error info that did not used to be in there!!
Please assist urgently, this is a critical issue for me.

Similar Messages

  • For the last 48 hrs my note 3 camera will not work..each time I try it freezes and eventually a message"camera not responding" comes up and I am able to exit....any ideas? has there been an update that went wrong?

    has there been an update to camera that went wrong or does anyone know a way to work around this problem..tried power down and on again, even removed battery, still has same problem.

    Go to settings and > into all apps > locate camera app > and do a force stop , >  then clear cache. Do a soft reset of phone.

  • Has there been an update or fix to the digital signature time zone off set being one hour off?

    Has there been an update or fix to the digital signature time zone off set being one hour off? I have seen that in the forum that this was identified as a bug back in June 2012. Any updates on this as it is still occurring in my version of Acrobat X with all updates applied. Thanks.

    Windows 7
    Sent from my BlackBerry 10 smartphone.

  • I have a 2005 Jaguar xj8.  When I tried to upgrade my 3gs to a 4g I got a ticking noise in the speaker and no one on the other end could hear me.  I had to go back to a 3gs.  My phone is shot and I need to upgrade.  Has there been a fix to the problem?

    I have a 2005 Jaguar xj8.  When I tried to upgrade my 3gs to a 4g  two years ago, I got a ticking noise in the speaker and no one on the other end could hear me.  I had to go back to a 3gs.  My phone is shot and I need to upgrade.  Has there been a fix to the problem?  Apple told me there was some sort of interference with the airbag system.  Jaguar was totally unhelpful.

    Hi Labjock,
    Welcome to the Support Communities!
    The article below may be able to help you with this. 
    iPhone: Microphone issues
    http://support.apple.com/kb/ts5183
    Cheers,
    - Judy

  • Has there been any helpful remedy for the ghost typing issue?

    Has there been any helpful remedy for the ghost typing issue? Where the ipad starts typing on its own and screens moving around the screen?
    I have had the ipad 1 for a while- and it started about 5 months ago. Anything other than shutting down and leaving alone for hours work?

    Yeah, well if you read that whole thread you will see lots of posts identifying it as a hardware problem:
    I'm the original poster on this thread. I ended up taking my iPad back to the Apple Store. They ran some diagnostics, and found that my RAM was almost maxed out, which didn't really make sense. It indicated a faulty processor, so they gave me a new iPad. I took it home, synched, and it only took about 45 minutes to synch 30 gigs of data. My original iPad took about 5 hours to synch for the first time. Clearly there was a problem with the processor in the first one, but I didn't realize it at first, as it took several weeks before it started exhibiting the erratic screen behavior. Hope this helps anyone else who might experience this down the line.
    -merenvov
    So i went to my apple store... which was PACKED. Found a manager and explained my problem. Without any question, they simply replaced it. Awesome!
    -duncanwilcox
    I have the same problem, and I found out what's wrong, it's not the software - restart, restore and FW upgrade will not help, it's definitely hardware. The best option is to replace your iPad assuming you have an apple store nearby…
    -DarkDwarf
    Just get your iPad replaced. It has a hardware problem.

  • Has there been trouble with the charger.  I am getting to re-order but the one i had the had the power surge and the end was blackened.  Not sure if it safe to use the laptop again?

    Has there been any trouble with the charger?  I am getting ready to re-order but the one i had.... the had the power surge and the end was blackened.  Not sure if it safe to use the laptop again?  Thanks.

    Can you also see blackening in the power jack on the PowerBook? If so, I would be worried that the surge also damaged the computer/
    Does the computer run OK on just the battery? If it is working on battery power, that limits the number of things inside the computer that could have been fried.
    If the computer is severely damaged by the surge, it's not worth repairing. However, a couple of posters in Apple forums said their homeowners'/renters' insurance paid them replacement value of their computer after power surge damage due to known problems on the grid, like the huge power outage that hit the SW Untied Stats and part of Mexico yesterday.

  • Has anyone been able to open Mac OS X 10.6.8 Update Combo v1.1 file?

    Has anyone been able to open Mac OS X 10.6.8 Update Combo v1.1 file?

    fcphantom wrote:
    peterfromfareham,
    No, I have not been able to open it either when downloading right off of Apple's Downloads website.  I keep getting the error
    "The following disk images couldn't be opened"  Image: MacOSXUpdCombo10.6.8.dmg ; Reason: not recognized.
    Apparently people downloading it through Software update are not having a problem, but I need to keep the file so I can run it on multiple computers without having to re-download it.
    Also, the file is only 1.07 GB, not 1.09 GB as advertised.
    I'm experiencing the same situation here. Same error and file size.
    To be accurate, the file is 1.071.015.728 byte and its MD5 hash is c1b40fabb9a8d2b21484546dbe86d446.
    When I download the update at work (Modena, Italy) I keep getting this file, no matter how many times I try to download it, but if I download the update at home (Cento, Italy) the file is bigger and I can mount it without problems.
    I asked two friends to try to get it and one of them from Reggio Emilia (Italy) got the right DMG, the other from Padova (Italy) got the corrupted DMG and the "not recognized" error. We have all different ISP so I can not tell if it's ISP related.
    I may be wrong but couldn't it be that some server in the Apple's CDN has got the corrupted copy of the update and serves it to users requesting the file from some specific locations?
    Anyway, I opened an incident with Apple through Express Lane that has now been escalated.
    I'll report back their findings as soon as they reply to me.

  • Has there been any fix to Aiport Express Scanning Issues?

    I have my HP printer/scanner hooked in to (by usb) to an airport express. I knew about a year ago that you weren't able to scan with this configuration. Has there been any workaround to this problem?
    Thanks..

    Has there been any workaround to this problem?
    The only workaround remains to connect your printer/scanner directly to your computer.
    Since It is HP that must supply the correct sofware drivers for this functionality to work on the AirPorts, you might want to contact HP to ask them about their future plans in this regard.
    I suppose that it could not hurt to remind Apple that you would like to see this type of functionality as well.
    Apple - AirPort Express - Feedback

  • Has there been any problems with the mail server?

    Has there been any problems with the mail server? I keep getting a notice of server failure.

    Unfortunately the error message does not identify the specific server, I (as many folks do) have several, Mac, yahoo, google ect.

  • Has there been a resolution to the wake up issue created by upgrading to OSX Lion?

    Since upgrading to OSX Lion my iMac will not wakeup. Has there been any resolution to this problem?

    This is a problem with your computer and system, not with Lion. I suggest you do the following:
    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.
    Because the Lion volume will be erased I recommend you first backup your files so they can be restored after reinstalling Lion.

  • Has there been a new update?

    when i now play music the volume scroll disapears on iphone and when i skip track there is a 3sec gap.. it never use to do this.

    AppleTV update list:
    http://support.apple.com/kb/HT4448

  • My IPAD has not been used in almost two years and I tried to update software and under general settings I can not find Software Updates where it should be, help please!

    My IPAD has not been used in almost two.... I have tried to update software but when go to Settings, General I can not find Software Updates where it should be between About and Sounds, what can I do? Nothing has been updated, tried through ITunes on PC and said I needed to update to ITunes 10.1 and can't do this either, please help me.  Can't find ICloud either!

    Make sure iTune is up to date.
    http://i1224.photobucket.com/albums/ee374/Diavonex/715e7281162a061530f6b86418036 0f0_zpscfe7d4c8.jpg

  • Has there been any apparent preblems with upgrading to firmware 1.1.2

    just curious?

    There's always a chance that something will go wrong when updating a product over Wi-Fi or by connecting it to iTunes and the internet. As for my iPhones and iPad I've had no problems with iOS 8.1.2.
    This Apple support page might help you restore your iOS software:
    Use iTunes to restore your iOS device to factory settings - Apple Support

  • Has there been a fix for the speakerphone problem?

    I recently had to return two N97 handsets due to the fact that the speakerphone on the handsets worked poorly. Contacts I called using speakerphone repeatedly told me I was "breaking up." Speakerphone volume was also mediocre, compared to other N series handsets I have owned. When the problem occured with the second handset I settled on returning the phone and waiting until I knew more about the problem and whether Nokia was aware of it and preparing a fix for it. I no longer own the phone and have gone back to using my trusty and very excellent, but old N958GB.
    Can someone/anyone tell me whether this particular bug on this handset has even been identified by Nokia and whether it has been fixed? Is the problem with the speakerphone a software issue or is this a hardware/mic/factory issue? If this is an isolated problem and it was simply a "bad batch" I would be prepared to buy the phone agan, but based on my reading on this forum, this is not a completely isolated problem.
    Basically, I'm waiting to find out whether (a) Nokia knows this is a problem, (b) it can be fixed via software upgrade, or (c) this is a design flaw with the handset that's not fixable remotely. Any help users can give would really be greatly appreciated, as I would love to purchase the phone and update my handset at long last.

    Hi
    Does anyone know anything about this? At least, can anyone who had an update that has improved the phone say whether the update solved that problem, if they were experiencing the problem with the loudpspeaker before?

  • Has there been update on firmware?

    I read the update from BT saying it was rolling out last night or something? I'm not sure how long it takes to update or whether mine has updated but I'm still getting the same issue as i've been discconected about 15 minutes ago and happens around the same time although it does happen occasionlly at night as well. I know alot of other people are having this issue but how will I know if mine has been updated? I don't look at all the settings in the HH5.

    Mine has rebooted 3 times today so far, still same firmware, and presumably still the same problem.
    Very frustrated indeed, BT's communication on this is useless, 'beginning to roll out' tells us next to nothing, like everyone else I had a perfectly working system which is now rubbish, trying to watch Netflix is a lottery, 3 quarters into a film and it reboots (or maybe not if I'm lucky), how will we know thats its fixed ?
    Add to this that it will probably reduce our speeds due to the constant reboots and this is a massive mistake made by someone at BT, how could they release such a flawed firmware ?
    I rang BT this morning before looking on the forum, I was asked my firmware number which perhaps suggests that it will change when its fixed, btw I was told that they have no eta on when that will happen.
    Terrible service.

Maybe you are looking for