Remove-AzBatchApplicationPackage
Deletes an application package record and the binary file.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Remove-AzBatchApplicationPackage
[-AccountName] <String>
[-ResourceGroupName] <String>
[-ApplicationName] <String>
[-ApplicationVersion] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Remove-AzBatchApplicationPackage 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-AzBatchApplicationPackage -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationName "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.
Parameters
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 |
| Accept wildcard characters: | False |
Specifies the name of the application.
| Type: | String |
| Aliases: | ApplicationId |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the version of the application.
| Type: | String |
| Position: | 3 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the name of the resource group that contains the Batch account.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |