Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NAME

Stop-JobSchedulerJob

SYNOPSIS

Stops a number of jobs in the JobScheduler Master.

SYNTAX

Stop-JobSchedulerJob -Job <String> [-Directory <String>] <CommonParameters>

DESCRIPTION

This cmdlet is an alias for Update-JobSchedulerJob -Action "stop"

PARAMETERS

Job

-Job <String>
Specifies the full path and name of a job.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?

Directory

-Directory <String>
Optionally specifies the directory of a job should the -Job parameter
not be provided with the full path and name of the job.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?

about_jobscheduler

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

C:\PS>Stop-JobSchedulerJob -Job /sos/dailyschedule/CheckDaysSchedule

Stops an individual job.

-------------------------- EXAMPLE 2 --------------------------

C:\PS>Get-JobSchedulerJob -Directory /some_dir -NoSubfolders | Stop-JobSchedulerJob

Stops all jobs from the specified directory
without consideration of subfolders.