I run the iex alias on my computer everything looks good (it executes the command inside and print output into PS console), eg: iex "c:\windows\system32\inetsrv\appcmd list apppool /xml"
But if I run this on a server, it opens a cmd windows with results and leave PS console empty, I expect result be printed in PS console.
Do you know if this could be some settings differences ? Anyidea to fix is much appriciated !