PowerShell Logo Small

Start-ScheduledTask



This is the built-in help made by Microsoft for the command 'Start-ScheduledTask', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Starts one or more instances of a scheduled task.

SYNTAX


Start-ScheduledTask [-TaskName] <String> [[-TaskPath] <String>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Start-ScheduledTask [-InputObject] <CimInstance> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Start-ScheduledTask cmdlet starts a registered background task asynchronously.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287560
Disable-ScheduledTask
Enable-ScheduledTask
Export-ScheduledTask
Get-ScheduledTask
New-ScheduledTask
Register-ScheduledTask
Set-ScheduledTask
Stop-ScheduledTask
Unregister-ScheduledTask

REMARKS

<

Examples


Example 1: Start a registered scheduled task

PS C:\> Start-ScheduledTask -TaskName "ScanSoftware"



This command starts a task named ScanSoftware in the root folder.




Example 2: Start all tasks in a folder

PS C:\>Get-ScheduledTask -TaskPath "\UpdateTasks\UpdateVirus\" | Start-ScheduledTask



This command uses the Get-ScheduledTask cmdlet to get the full task path for the UpdateVirus folder and pipes that value to Start-ScheduledTask, which starts all task
s in the UpdateVirus folder.