Ignoring an errorlevel != 0 in Windows PowerShell (ISE)

This doesn’t have anything to do with the exit code returned by the EXE. An error is generated when an EXE writes to stderr, but only within the ISE or when remoting or using background jobs.

An EXE that writes to stderr does not generate errors from the regular PowerShell command prompt. I’m not sure why this is the case.

Leave a Comment