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

    Sep 14, 2020 · if you are able to run the script manually with the same parameters as specified on the scheduled task, then most probably you need to reconfigure the task in a proper way. Can …

  2. Start-ScheduledTask (ScheduledTasks) | Microsoft Learn

    Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® …

  3. Register-ScheduledJob (PSScheduledJob) - PowerShell

    The Register-ScheduledJob cmdlet creates scheduled jobs on the local computer. A scheduled job is a Windows PowerShell background job that can be started automatically on a one-time …

  4. Scheduling Jobs with the Windows PowerShell API - PowerShell

    A Windows PowerShell script block that specifies what the job does. FilePath: A path to a file that contains Windows PowerShell script block that specifies what the job does. InitializationScript: …

  5. New-ScheduledTask (ScheduledTasks) | Microsoft Learn

    New-ScheduledTask does not automatically register the object with the Task Scheduler service. You can register a task to run any of the following application or file types: Win32 applications, …

  6. Create and manage scheduled jobs using Windows PowerShell

    Explain how to run Windows PowerShell scripts as scheduled tasks. Create and run a Windows PowerShell script as a scheduled task. Explain the purpose and use of scheduled jobs. Create …

  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 …

  8. about_Scheduled_Jobs - PowerShell | Microsoft Learn

    Nov 14, 2022 · PowerShell scheduled jobs are a useful hybrid of PowerShell background jobs and Task Scheduler tasks. Like PowerShell background jobs, scheduled jobs run asynchronously …

  9. Having Trouble Running Powershell Scripts with Task Scheduler

    Apr 20, 2023 · Here is some info on the Task Scheduler settings: Not sure if it's a Powershell issue. Looks more like the problem is with Task Scheduler itself. It seems like it's not actually …

  10. I can not run a powershell script through Task Scheduler (when the ...

    Dec 30, 2024 · The user account used SPO... can run the script manually and it works. the moment its on task scheduler it wont work aprt if the setting is set to "run only when user is …

Refresh