Hi,
I have powershell script which runs another exe file. This exe file writes error to error stream on some conditions. When I launch script from ISE - everything works fine: error appears in output windows (with red) and script terminates. But when I start it from console - error prints to standart output (with white) and script continues execution. How can I fix it?
P.S. $ErrorActionPreference value is "Stop"