+1 450 255 0135

How To Automate PowerShell Tasks With Task Scheduler (Complete Guide)

PowerShell is a clear automation scripting language that can automate various tasks within Windows. It can run programs, install applications, execute commands, and more. When using PowerShell scripts, it can be beneficial to schedule them to run automatically with Task Scheduler. This means you don’t have to run the script manually

How to Schedule a PowerShell Script Using Task Scheduler

To run a PowerShell script from Task Scheduler, follow these steps:

  1. Open Task Scheduler. You can do this by typing “Task Scheduler” into the Start menu search bar and clicking on the result.
  2. Click on the “Create Basic Task” option in the right pane.
  3. Enter a name for the task and a description (optional) and click “Next”.
  4. Choose the trigger for the task. This can be a specific time, when the computer starts up, or when you log on. Click “Next” after selecting the trigger.
  5. Select the “Start a program” option and click “Next”.
  6. In the “Program/script” field, enter the path to the PowerShell executable, which is typically “C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe”.
  7. In the “Add arguments (optional)” field, enter the path to the script file that you want to run. For example, if your script is located at “C:\Scripts\MyScript.ps1”, you would enter “-File C:\Scripts\MyScript.ps1” (including the quotes).
  8. Click “Next” and then “Finish” to save the task.
  9. To run the task, go back to the Task Scheduler window and locate the task in the list. Right-click on the task and select “Run” from the context menu.

Note: If the script requires administrator privileges to run, you will need to check the “Run with highest privileges” option when setting up the task.


PowerShell provides users with a powerful automation language to streamline Windows tasks. With the help of Task Scheduler, these scripts can be set up to run automatically without any manual input – saving time and energy! In this blog post, learn how easy it is to use Task Scheduler to create an automated script using PowerShell.

Like this article?

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest

Leave a comment