Any way to check if PSADT is running before launching another process?

I have a scheduled task set to run a popup reminder to users. Is there any way to prevent PSADT from executing again or allowing it to silently close if it already sees a window open?

I tried using Get-Process but it appears to only be called powershell which means I can’t see that working.

Anyone have any tricks to prevent multiple windows?

I’ve never ran into this being an issue.
If you use SCCM/MECM, it will prevent having multiple installations from occurring.

Wait…are you using scheduled task to trigger PSADT scripts? Why?