...
SYNTAX
Stop-JobSchedulerTask -IdTask <String> -Job <String> [-Action <String>] [-Timeout <Int32>] <CommonParameters>
...
- by a pipelined object, e.g. the output of the Get-Task cmdlet
- by specifying an individual task with the -Id Task and -Job parameters.
PARAMETERS
...
Task
-Id Task <String>
Optionally specifies the identifier of a task.
Both parameters -Id Task and -Job have to be specified if no pipelined task objects are used.
...
-Job <String>
Optionally specifies the path and name of a job for which tasks should be terminated.
Both parameters -Id Task and -Job have to be specified if no pipelined task objects are used.
...
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Stop-Task -Id Task 81073 -Job /sos/dailyschedule/CheckDaysSchedule
...