Bewerken

Delen via


Get-AzBatchApplication

Gets information about the specified application.

Syntax

Get-AzBatchApplication
   [-AccountName] <String>
   [-ResourceGroupName] <String>
   [[-ApplicationName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzBatchApplication cmdlet gets information about an application in an Azure Batch account.

Examples

Example 1: Display the applications in a Batch account

Get-AzBatchApplication -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup"

ApplicationName AllowUpdates DisplayName

------------- ------------ ----------------------------

litware       False        Litware Advanced Reticulator

This command displays all applications in the ContosoBatch account.

Parameters

-AccountName

Specifies the name of the Batch account that contains the application.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ApplicationName

Specifies the name of the application.

Type:String
Aliases:ApplicationId
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

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

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

PSApplication