Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureBatchAccountKeys

Get-AzureBatchAccountKeys

microsoft.azure.commands.batch.dll

Synopsis

Returns the keys to the account specified.

Syntax

Get-AzureBatchAccountKeys [-AccountName] [-ResourceGroupName] [<CommonParameters>]

Detailed Description

Returns a BatchAccountContext object with its PrimaryAccountKey and SecondaryAccountKey properties populated with the Batch account's access keys.

Parameters

-AccountName <string>

The name of the Batch account to retrieve keys for.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ResourceGroupName <string>

The name of the resource group of the account.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

BatchAccountContext

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>

Description

-----------

Returns a BatchAccountContext object with its PrimaryAccountKey and SecondaryAccountKey properties populated with the access keys to the "cmdletexample" Batch account.

          Get-AzureBatchAccountKeys -AccountName "cmdletexample"

          AccountName          Location        ResourceGroupName Tags               TaskTenantUrl
          -----------          --------        ----------------- ----               -------------
          cmdletexample        westus          cmdletexample                        https://batch.core.windows.net