Get-StorageGroup
SYNOPSIS
Gets details of the storage groups on a PowerMax array.
SYNTAX
All (Default)
Get-StorageGroup [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Identify] [<CommonParameters>]
ById
Get-StorageGroup [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Id] <String[]> [<CommonParameters>]
DESCRIPTION
Gets details of the storage groups on a PowerMax array.
EXAMPLES
Example 1
PS C:\> Get-StorageGroup -Unisphere $unisphere -ArrayId 000123456789
Where $unisphere is a Unisphere server instance. Returns a list of all storage groups in the PowerMax array 000123456789.
Example 2
PS C:\> Get-StorageGroup -Unisphere $unisphere -ArrayId 000123456789 -Identify
Where $unisphere is a Unisphere server instance. Returns a list of all storage group IDs in the PowerMax array 000123456789.
Example 3
PS C:\> Get-StorageGroup -Unisphere $unisphere -ArrayId 00123456789 -Id sg1,sg2
Where $unisphere is a Unisphere server instance. Returns details of storage groups with IDs sg1 and sg2.
PARAMETERS
-Unisphere
The Unisphere server instance.
Type: UnisphereServer
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-ArrayId
The PowerMax array ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Id
Storage group ID.
Type: String[]
Parameter Sets: ById
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Identify
Returns IDs instead of objects.
Type: SwitchParameter
Parameter Sets: All
Aliases: List
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.