Is it possible to run existing task scheduler's task on Windows 10 using Powershell?

I can create, modify, delete tasks on win 10 with powershell.

I know about command line schtasks.exe.

2 Answers

Fabian Mendez On Best Solutions

Use the Start-ScheduledTask Cmdlet:

Here is an example:

Start-ScheduledTask -TaskName "ScanSoftware"

Please check this link for more information

David Daugherty On

I can only assume that you're referring to schtasks.exe. This command line is the method I've used many times for running a task. Is there a reason to not use this command line utility?

Schtasks /run /tn should do the trick.