▲ 5 r/PSADT
How is PSADT hiding the Powershell window?
The exe does essentially just run the ps1 file.
For the record, I am NOT using PSADT for this specific task. I'm just curious how they've pulled it off.
I need a particular PowerShell script to run every 3 minutes via task scheduler. But if even if I change the WindowStyle option, it will still flash the console window for less than a fraction of a second.
However, if I used PSADT in silent mode and just have the commands in the Invoke ps1 file, nothing gets flashed.
Any idea how they've done this?
u/LordLoss01 — 1 day ago