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
 

Set-AzureBatchAccount

Set-AzureBatchAccount

microsoft.azure.commands.batch.dll

Synopsis

Updates the specified Batch account.

Syntax

Set-AzureBatchAccount [-AccountName] [-Tag] [-ResourceGroupName] [<CommonParameters>]

Detailed Description

Updates the specified Batch account. Currently, only tags can be updated.

Parameters

-AccountName <string>

The name of the Batch account to update.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ResourceGroupName <string>

The resource group of the account being updated.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Tag <Hashtable[]>

An array of hashtables which represents the tags to set on the account.

Aliases

None

Required?

true

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

-----------

Updates the tags on the "cmdletexample" account.

          Set-AzureBatchAccount -AccountName "cmdletexample" -Tag @(@{Name = "tag1";Value = "value1"},@{Name = "tag2";Value = "value2"})

          AccountName          Location        ResourceGroupName Tags               TaskTenantUrl
          -----------          --------        ----------------- ----               -------------
          cmdletexample        westus          cmdletexamplerg   {System.Collection https://batch.core.windows.net
          s.Hashtable, Syste
          m.Collections.Hash
          table}