예제

Example 1: Stop a scheduled task

Example 2: Stop all instances of all tasks in a folder

This command uses the Get-ScheduledTask cmdlet to get all scheduled tasks in the UpdateTasks folder. The command pipes this information to the Stop-ScheduledTasks cmdlet, which stops all running instances of these scheduled tasks.