Hi, after installing KB2919355 for Windows Server 2012R2 (or Windows 8.1) the transcription functionality of Powershell seems to be broken.
Input:
PS C:\Windows\system32> start-transcript c:\test.log
Transcript started, output file is c:\test.log
PS C:\Windows\system32> write-host "testing write-host"
testing write-host
PS C:\Windows\system32> "testing out-host" | out-host
testing out-host
PS C:\Windows\system32> stop-transcript
Transcript stopped, output file is C:\test.log
PS C:\Windows\system32>
Output:
**********************
Windows PowerShell transcript start
Start time: 20150428205107
Username: HHO\Henk
RunAs User: HHO\Henk
Machine: HHO (Microsoft Windows NT 6.3.9600.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 4508
**********************
Transcript started, output file is c:\test.log
PS C:\Windows\system32> write-host "testing write-host"
PS C:\Windows\system32> "testing out-host" | out-host
testing out-host
PS C:\Windows\system32> stop-transcript
**********************
Windows PowerShell transcript end
End time: 20150428205143
**********************
It was already asked in this thread: https://social.technet.microsoft.com/Forums/en-US/cecc4f32-28c8-4bdc-be63-49ce3d396625/powershell-4-starttranscript-does-not-log-writehost?forum=winserverpowershell
But the last response from microsoft is that they are working on it, in februari, and it has been very silent since then.
I'd like to see a response from MSFT about this!