I would like to schedule the execution of a PowerShell script, with the following criteria:
- Run the PowerShell script in a visible PowerShell terminal window (I want the PowerShell terminal to popup on-screen so the user can see that the script is executed)
- Run the PowerShell script on schedule (at some time)
- Run the script as admin
- Run the script even if no-one is logged in to the computer
Ideally I'd schedule the task from command line, but that's not really a requirement.
How can I manage this?