81 votesSunny Ape commented
Having the same problem on Win10 64 bit with ISE 64 bit. A PS script with a single form with half a dozen objects added will randomly cause ISE to freeze when running the script. Can only force restart ISE with task manager.
Not sure why Dennis says "ISE is MTA", but ISE always runs in STA mode by default. You need to force it into STA mode with the '-sta' switch on launch.
PowerShell version is 5.1.14393.1944
Windows 10 version is 1607, build 14393.1944Sunny Ape supported this idea ·