- Category: Powershell
Ever wanted to start a scheduled task within a powershell script? Well, you sure can!
In my case, our systems have a scheduled task that's run every day after work. However, users requested the ability to do this themselfs instead of shooting the IT department a request and then wait for them to start the task.
The only requirement is that you supply admin credentials inside the script because remotely starting a schedule task requires admin rights.