About 50 results
Open links in new tab
  1. Run powershell script using Task Scheduler - Microsoft Q&A

    Sep 13, 2020 · I have a script that is reset password of the user. I want to run it use task scheduler every hour once. But is failed. The history of scheduler show the task completed. but the script don't have …

  2. New-ScheduledTask (ScheduledTasks) | Microsoft Learn

    The New-ScheduledTask cmdlet creates an object that contains the definition of a scheduled task. New-ScheduledTask does not automatically register the object with the Task Scheduler service. You can …

  3. Scheduling Jobs with the Windows PowerShell API - PowerShell

    Sep 17, 2021 · Scheduling Jobs with the Windows PowerShell API In this article Triggering the Job Defining the Job Creating the Invocation and Job Definition Objects Registering the Job with the …

  4. Having Trouble Running Powershell Scripts with Task Scheduler

    Apr 20, 2023 · And on top of that, the task scheduler task stays "Running" forever even though the script never ran and I exited manually the powershell console when I add -NoExit.

  5. Create and manage scheduled jobs using Windows PowerShell

    Upon completion of this module, the learner will be able to: Explain how to run Windows PowerShell scripts as scheduled tasks. Create and run a Windows PowerShell script as a scheduled task. …

  6. Scheduled Task to run powershell script via GPO(computer on a ...

    Jan 8, 2022 · Hi Reader, How to create a scheduled task to run a powershell script whether user is logged on or not during a specific time via GPO. I have implemented it locally using the following …

  7. Powershell script not working through Task Scheduler

    Apr 14, 2021 · When I run the above script from my laptop through PowerShell console it works fine and disables the AD accounts but the script does not run through the Task Scheduler. In the Scheduler I …

  8. PowerShell Script Will Not Work in Task Scheduler

    Apr 1, 2025 · The script works well in PowerShell ISE as long as I run as administrator so it can correctly pull the AD property pwdLastSet. When I try to automate this task using Task Scheduler, it does not …

  9. Register-ScheduledTask (ScheduledTasks) | Microsoft Learn

    The Register-ScheduledTask cmdlet registers a scheduled task definition on a local computer. You can register a task to run executable files (.exe and .com), batch files (.bat and .cmd), or any registered …

  10. Check permissions required to run PowerShell scripts in Task Scheduler ...

    Aug 10, 2023 · I would like to configure Task Scheduler to run a PowerShell script to install updates from Windows Update on my domain controllers and member servers. Because the Task Scheduler's run …