About 15,000 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. …

  2. 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 …

  3. 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 …

  4. Scheduled Tasks Not Running - Windows Server | Microsoft Learn

    Mar 6, 2025 · For example, if the task runs a customized application or a PowerShell script, locate the process in Task Manager. Then troubleshoot why the process keeps running and doesn't …

  5. about_Scheduled_Jobs - PowerShell | Microsoft Learn

    Describes scheduled jobs and explains how to use and manage scheduled jobs in PowerShell and in Task Scheduler.

  6. 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 …

  7. 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 …

  8. Register-ScheduledJob (PSScheduledJob) - PowerShell

    To specify a script that the job runs, use the FilePath parameter. Windows PowerShell-scheduled jobs use the same job triggers and job options that Task Scheduler uses for scheduled tasks. …

  9. 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.

  10. 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 …