Get-HostGroup

SYNOPSIS

Gets details of the host groups on a PowerMax array.

SYNTAX

All (Default)

Get-HostGroup [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Identify] [<CommonParameters>]

ById

Get-HostGroup [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Id] <String[]> [<CommonParameters>]

DESCRIPTION

Gets details of the host groups on a PowerMax array.

EXAMPLES

Example 1

PS C:\> Get-HostGroup -Unisphere $unisphere -ArrayId 000123456789

Where $unisphere is a Unisphere server instance. Returns a list of all host groups in the PowerMax array 000123456789.

Example 2

PS C:\> Get-HostGroup -Unisphere $unisphere -ArrayId 000123456789 -Identify

Where $unisphere is a Unisphere server instance. Returns a list of all host group IDs in the PowerMax array 000123456789.

Example 2

PS C:\> Get-HostGroup -Unisphere $unisphere -ArrayId 000123456789 -Id hostGroup1,hostGroup2

Where $unisphere is a Unisphere server instance. Returns details of host group with IDs hostGroup1, hostGroup2 in the PowerMax array 000123456789.

PARAMETERS

-Unisphere

The Unisphere server object.

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

Host 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.

INPUTS

Dell.PowerMax.Management.Model.UnisphereServer

System.String

System.String[]

OUTPUTS

System.String

Dell.PowerMax.Management.Model.HostGroup

NOTES