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-AzureBatchAccount

Get-AzureBatchAccount

microsoft.azure.commands.batch.dll

Synopsis

Gets Azure Batch accounts under the current subscription.

Syntax

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

Detailed Description

Gets Azure Batch accounts under the current subscription. You can use the AccountName parameter to get a single account, or you can use the ResourceGroupName parameter to gets accounts under that resource group.

Parameters

-AccountName <string>

Name of the account - if specified, only return the specified account.

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ResourceGroupName <string>

Name of the resource group. If specified, only list the accounts under the specified resource group.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

BatchAccountContext

Notes

Examples

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

C:\PS>

Description

-----------

Gets the Batch account named "cmdletexample"

          Gets Azure Batch accounts under the current subscription.

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

-------------------------- EXAMPLE 2 --------------------------

C:\PS>

Description

-----------

Gets the Batch accounts associated with the "cmdletexample" resource group.

          Get-AzureBatchAccount -ResourceGroupName "cmdletexample"

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