Sometimes my PowerShell stops executing programs and I have yet to find out why. In this state, when I enter the name of an EXE file, the PowerShell immediately returns to a command prompt without executing anything. Cmdlets however appear to still work. There is also no error shown in the Windows event viewer or anywhere else I have looked.
I don't know how this state is triggered (I was developing a PS1 script the last time it happened), how I prevent it from happening, and how I can return to a working state without restarting my PowerShell.