New-​Azure​Rm​Batch​Application

Adds an application to the specified Batch account.

Syntax

New-AzureRmBatchApplication
   [-AccountName] <String>
   [-ResourceGroupName] <String>
   [-ApplicationId] <String>
   [[-AllowUpdates] <Boolean>]
   [[-DisplayName] <String>]
   [<CommonParameters>]

Description

The New-AzureRmBatchApplication cmdlet adds an application to the specified Azure Batch account.

Examples

Example 1: Add an empty application to a Batch account

PS C:\>New-AzureRmBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationId "Litware" -AllowUpdates $True -DisplayName "Litware Advanced Reticulator"

This command creates the Litware application in the ContosoBatch account. The application initially contains no packages.

Required Parameters

-AccountName

Specifies the name of the Batch account to which this cmdlet adds 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

Optional Parameters

-AllowUpdates

Specifies whether packages within the application can be overwritten using the same version string.

Type:Boolean
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DisplayName

Specifies the display name for the application.

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