I’ve built a GUI form (called FORM1) in PowerShell that has several buttons to launch several applications.
Most buttons launch .exe’s but in one case I’d like to launch another .ps1 that displays another gui interface (called FORM2).
The trouble is, when I launch the .ps1,(FORM2) it disables the other buttons on the first panel (FORM1) until I close FORM1.
I’d like to know how to code it so FORM2 is independent of FORM1.
I’ve tried using “Start-Process -File C:\users\app2.ps1” and “& C:\users\app2.ps1”
I can’t see any parameters where the app2.ps1 would launch in a separate instance.