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

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

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

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

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

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

  8. Set-ScheduledTask (ScheduledTasks) | Microsoft Learn

    Specifies an array of one or more trigger objects that cause a scheduled task to start. A trigger is a set of criteria that, when met, starts a scheduled task. You can use a time-based trigger or …

  9. Getting Powershell Return Code 2147942401 - Microsoft Q&A

    Dec 28, 2022 · Task Scheduler launch task "Task Name", instance "Powershell.exe" with process ID 5808. The task is being run on a Windows Server 2016 utility server, using a service …

  10. PowerShell script won't execute as a Windows scheduled task

    May 12, 2023 · The scheduling task has already been configured to run with the highest privileges. So to briefly recap: the .ps1 script works as intended if run via Powershell ISE or …

Refresh