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

Get-AzureAffinityGroup

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Returns an object that represents a Microsoft Azure affinity group.

Syntax

Get-AzureAffinityGroup [-Name] [<CommonParameters>]

Detailed Description

The Get-AzureAffinityGroup cmdlet returns an affinity group object that includes the affinity group name, location, label, description and the storage and hosted services that are part of the affinity group.

Parameters

-Name <String>

Affinity Group name. A name is assigned to the affinity group at the time of creation. Note that names for affinity groups created through the Management Portal are typically GUIDs and that the UI shows its label.

Aliases

None

Required?

false

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

AffinityGroup

Notes

Examples

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

This example list the properties of the "MyGroup1" affinity group.

PS C:\> C:\PS>Get-AzureAffinityGroup -Name "MyGroup1"