Remove-​Azure​Scheduler​Job​Collection

Deletes a scheduler job collection.

Syntax

Remove-AzureSchedulerJobCollection
      [-Force]
      -JobCollectionName <String>
      [-Location <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.

Required Parameters

-JobCollectionName

Specifies the name of the scheduler job collection to delete.

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

Optional Parameters

-Force

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

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
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
Accept pipeline input:True (ByPropertyName)
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
Accept pipeline input:False
Accept wildcard characters:False