Remove-​Azure​Rm​Batch​Application​Package

Deletes an application package record and the binary file.

Syntax

Remove-AzureRmBatchApplicationPackage
      [-AccountName] <String>
      [-ResourceGroupName] <String>
      [-ApplicationId] <String>
      [-ApplicationVersion] <String>
      [<CommonParameters>]

Description

The Remove-AzureRmBatchApplicationPackage cmdlet deletes an application package record and the binary file from an Azure Batch account.

Examples

Example 1: Delete an application package from a Batch account

PS C:\>Remove-AzureRmBatchApplicationPackage -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationId "litware" -ApplicationVersion "1.0"

This command deletes version 1.0 of the Litware application from the ContosoBatchGroup account. The command deletes both the package record and the blob that contain the package binary file.

Required Parameters

-AccountName

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

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
-ApplicationVersion

Specifies the version of the application.

Type:String
Position:3
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