Remove-AzureSchedulerJobCollection

Deletes a scheduler job collection.

Note

The cmdlets referenced in this documentation are for managing legacy Azure resources that use Service Management APIs. See the Az PowerShell module for cmdlets to manage Azure Resource Manager resources.

Syntax

Remove-AzureSchedulerJobCollection
      [-Force]
      [-Location <String>]
      -JobCollectionName <String>
      [-Profile <AzureSMProfile>]
      [<CommonParameters>]

Description

This topic describes the cmdlet in the 0.8.10 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.

The Remove-AzureSchedulerJobCollection cmdlet deletes a scheduler job collection and any jobs under that collection.

Examples

Example 1: Delete a job collection for a location

PS C:\> Remove-AzureSchedulerJobCollection -Location "North Central US" -JobCollectionName "JobCollection01"

This command deletes the scheduler job collection named JobCollection01 in the North Central US location. The command also deletes the jobs under JobCollection01.

Example 2: Delete a job location

PS C:\> Remove-AzureSchedulerJobCollection -JobCollectionName "JobCollection02"

This command deletes the scheduler job collection named JobCollection02. The command also deletes the jobs under JobCollection02.

Parameters

-Force

Indicates that this cmdlet removes the scheduler job collection without prompting you for confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-JobCollectionName

Specifies the name of the scheduler job collection to delete.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Location

Specifies the name of the location that hosts the cloud service. Valid values are:

  • Anywhere Asia
  • Anywhere Europe
  • Anywhere US
  • East Asia
  • East US
  • North Central US
  • North Europe
  • South Central US
  • Southeast Asia
  • West Europe
  • West US
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False