Lessons In PowerShell - Running a PowerShell Script Via Windows Task Scheduler

   Submit to Reddit      

In order to run a Windows PowerShell script through the Windows Task Scheduler:

  • Run the Task Scheduler:

    Start ➞ Control Panel ➞ Administrative Tools ➞ Task Scheduler

  • Create and schedule a task that starts a program.

    Specify the program to run as:


    Specify the arguments as:


The PowerShell script will now run as scheduled.

comments powered by Disqus