Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: How to retrieve stdout & stderr both from Invoke-SshCommand

$
0
0
Hello,
I'm running the invoke-sshcommand cmdlet and I can't seem to get both pipes. Invoke-sshcommand seems to return one or the other. If I expect output from stdout only, I get it. If I expect output through stderr, I get it. I have a program that should get output from both pipes but all I get is sdterr. The cmdlet seems to clobber stdout with stderr. How do I get both pipes through invoke-sshcommand?

DLL module is 2013.4.7
psd1 file is 1.0.0.4

Thanks.

Viewing all articles
Browse latest Browse all 1729

Trending Articles