Get-AzBatchApplicationPackage
Gets information about an application package in a Batch account.
Syntax
Default (Default)
Get-AzBatchApplicationPackage
[-AccountName] <String>
[-ResourceGroupName] <String>
[-ApplicationName] <String>
[[-ApplicationVersion] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzBatchApplicationPackage cmdlet gets information about an application package in an Azure Batch account.
Examples
Example 1: Get details of an application package in a Batch account
Get-AzBatchApplicationPackage -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationName "Litware" -ApplicationVersion "1.0"
Format : zip
State : Active
Version : 1.0
LastActivationTime : 13/05/2016 4:03:24 AM
StorageUrl : https://contosobatch.blob.core.windows.net/app-test
StorageUrlExpiry : 13/05/2016 8:04:44 AM
Id : litware
This command gets the details of version 1.0 of the Litware package.
Parameters
-AccountName
Specifies the name of the Batch account from which this cmdlet gets information.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 0
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-ApplicationName
Specifies the name of the application.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: ApplicationId
Parameter sets
(All)
Position: 2
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-ApplicationVersion
Specifies the version of the application.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 3
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
Specifies the name of the resource group that contains the Batch account.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: 1
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs