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?