Remove-AzBatchApplication
Deletes an application from a Batch account.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Remove-AzBatchApplication
[-AccountName] <String>
[-ResourceGroupName] <String>
[-ApplicationName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Remove-AzBatchApplication cmdlet deletes an application from an Azure Batch account.
Examples
Example 1: Delete an application from a Batch account
PS C:\>Remove-AzBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationName "Litware"
This command deletes the Litware application from the ContosoBatch account. The command fails if the application contains any packages.
Parameters
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 |
| 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 |
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 |