I have a PowerShell script which implents a small update routine. It should run in background, but without closing an active program, which runs in fullscreen.
I tried to set up a scheduled task in the GUI with
powershell -File pathtofile -NonInteractive -NoLogo -WindowStyle hidden
but the console window still pops up. Is there any way to prevent this?
Alternatively, is there a possibility to get a minimized window back to fullscreen?