< Back

Get-AzureRmBatchApplicationPackage

Tue Jan 29, 2019 9:35 pm

NAME Get-AzureRmBatchApplicationPackage



SYNOPSIS

Gets information about an application package in a Batch account.





SYNTAX

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

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





DESCRIPTION

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





PARAMETERS

-AccountName <String>

Specifies the name of the Batch account from which this cmdlet gets information.



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

Microsoft.Azure.Commands.Batch.Models.PSApplicationPackage







NOTES









Example 1: Get details of an application package in a Batch account



PS C:\\>Get-AzureRmBatchApplicationPackage -AccountName "ContosoBatch" -ResourceGroupName "ContosoBatchGroup" -ApplicationId "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.







RELATED LINKS

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

Get-AzureRmBatchApplicationPackage

New-AzureRmBatchApplicationPackage

New-AzureRmBatchApplicationPackage

Remove-AzureRmBatchApplicationPackage

Remove-AzureRmBatchApplicationPackage

Set-AzureRmBatchApplication