In powershell (2.0) the following works nice and fine: cmd /c echo "hello" | select-string hello
Outputs "hello".
When running this in remoting mode, text is not printed:
Invoke-Command -ComputerName myserver -Credential user.name@domain.tld { cmd /c echo "hello" | select-string hello }
Why, and how do I grep text of commands (exefiles) in remoting mode? (windows7 on client, 2008r2 on server. Commands can run fine, ports are open, etc)