Remove-​Azure​Rm​Batch​Application

Deletes an application from a Batch account.

Syntax

Remove-AzureRmBatchApplication
      [-AccountName] <String>
      [-ResourceGroupName] <String>
      [-ApplicationId] <String>
      [<CommonParameters>]

Description

The Remove-AzureRmBatchApplication cmdlet deletes an application from an Azure Batch account.

Examples

Example 1: Delete an application from a Batch account

PS C:\>Remove-AzureRmBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationId "Litware"

This command deletes the Litware application from the ContosoBatch account. The command fails if the application contains any packages.

Required Parameters

-AccountName

Specifies the name of the Batch account from which this cmdlet removes an application.

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

Specifies the ID of the application.

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

Specifies the name of the resource group that contains the Batch account.

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