Hi,

I am able to catch Posh output in Pspad build 2297 with this external
application:

Application:
C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe -nologo  "%File%"   >
%Dir%%Name%.log 2>&1

LOG file:
%Dir%%Name%.log

the "2>&1" part is for redirecting the stderr output to the stdout output.
I've read somewhere that powershell are also using additional output streams, so
in some situations it will not capture error messages.
I haven't looked into this though...

Good luck. :-))

-- 
<http://forum.pspad.com/read.php?2,44298,44331>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem