Forcing all output to Out-Host
by memeric at 2013-03-29 12:25:08
Hi. I just started logging my PowerShell sessions using "Start-Transcript"; however, I noticed that when I run a non-native command (like dnscmd.exe) in the shell, the output is not displayed. Piping the command to "Out-Host" did resolve the issue...but I don't want to have to do this every time I type a command. Is there a way in PS to force all output to host so that all output gets logged correctly?
Thanks in advance...
by DonJ at 2013-03-29 14:37:26
Not using the native console host application, no. You'd have to build your own host.
You must be logged in to reply to this topic.