Suppose you have created a task to automate your PowerShell script using the Task Scheduler app ... Or you may run the task using the SYSTEM account to bypass the UAC dialogue.