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

Set-AzureAffinityGroup

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Updates the properties of a Microsoft Azure affinity group.

Syntax

Set-AzureAffinityGroup [-Name] [-Label] [-Description] [<CommonParameters>]

Detailed Description

The Set-AzureAffinityGroup cmdlet updates properties of the specified affinity group. The properties that can be changed are the Label and the Description.

Parameters

-Name <String>

Specifies the name of the affinity group to change the properties of.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Label <String>

Specifies a label for the affinity group. The label can be up to 100 characters in length.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Description <String>

Specifies the description of the affinity group. The description can be up to 1024 characters in length.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Example 1 --------------------------

This command sets the label of the affinity group MyGroup1 to "SouthUSProduction" and sets the description to "Production applications for Southern US locations"

PS C:\> C:\PS>Set-AzureAffinityGroup -Name "MyGroup1" -Label "SouthUSProduction" -Description "Production applications for Southern US locations"

Get-AzureAffinityGroup
New-AzureAffinityGroup
Remove-AzureAffinityGroup