< Back

Get-AzureAffinityGroup

Wed Jan 30, 2019 5:43 pm

NAME Get-AzureAffinityGroup



SYNOPSIS

Gets an Azure affinity group object.





SYNTAX

Get-AzureAffinityGroup [[-Name] <String>] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureAffinityGroup cmdlet gets an Azure affinity group. The affinity group object includes the affinity group name, location, label, description

and the storage and hosted services that are part of the affinity group.





PARAMETERS

-Name <String>

Specifies the name of the affinity group that this cmdlet gets. Names for affinity groups created through the Management Portal are typically GUIDs.

The Management Port shows the affinity group label.



Required? false

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Profile <AzureSMProfile>

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationAction <ActionPreference>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-InformationVariable <String>





Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

AffinityGroup







NOTES









-------------------------- Example 1: Get properties of an affinity group --------------------------



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



This command gets the properties of the affinity group named South01.



RELATED LINKS

New-AzureAffinityGroup

Remove-AzureAffinityGroup

Set-AzureAffinityGroup