New
#1
Unable to Display pop-up from PowerShell - started by Task Scheduler.
I have a PowerShell script that is kicked off via Task Scheduler in the middle of the night when I'm not using the computer. One of the tasks in the script is to check if a remote network share is available and display a pop-up message if it is not. This is so I can see a visual reminder that the share was unavailable when I log on in the morning. When the PowerShell script is run from Task Scheduler it doesn't pop-up irregardless of whether I'm logged in or not. That kind of makes sense I guess since Task Scheduler is not expecting user interaction.
How can I accomplish this remote share check and display a pop-up that is also scheduled via Task Scheduler? Or how can I get my PowerShell script to display this pop-up when run via Task Scheduler?
Thanks,
Gary