Stop-​Azure​Batch​Job​Schedule

Stops a Batch job schedule.

Syntax

Stop-AzureBatchJobSchedule
    [-Id] <String>
    -BatchContext <BatchAccountContext>
    [<CommonParameters>]

Description

The Stop-AzureBatchJobSchedule cmdlet stops an Azure Batch job schedule.

Examples

Example 1: Stop a job schedule

PS C:\>Stop-AzureBatchJobSchedule -Id "JobSchedule17" -BatchContext $Context

This command stops the job schedule that has the ID JobSchedule17. Use the Get-AzureRmBatchAccountKeys cmdlet to assign a context to the $Context variable.

Required Parameters

-BatchContext

Specifies the BatchAccountContext instance that this cmdlet uses to interact with the Batch service. To obtain a BatchAccountContext object that contains access keys for your subscription, use the Get-AzureRmBatchAccountKeys cmdlet.

Type:BatchAccountContext
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Id

Specifies the ID of the job schedule that this cmdlet stops.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False