< Back

Remove-AzureRmBatchApplicationPackage

Tue Jan 29, 2019 9:36 pm

NAME Remove-AzureRmBatchApplicationPackage



SYNOPSIS

Deletes an application package record and the binary file.





SYNTAX

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

<String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-AccountName <String>

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



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ApplicationId <String>

Specifies the ID of the application.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ApplicationVersion <String>

Specifies the version of the application.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

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



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS



NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ionpackage

Get-AzureRmBatchApplicationPackage

Get-AzureRmBatchApplicationPackage

New-AzureRmBatchApplicationPackage

New-AzureRmBatchApplicationPackage

Remove-AzureRmBatchApplicationPackage

Set-AzureRmBatchApplication