Get-PortGroup

SYNOPSIS

Gets details of the port groups on a PowerMax array.

SYNTAX

All (Default)

Get-PortGroup [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-Type <string>] [-Identify] [<CommonParameters>]

ById

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

DESCRIPTION

Gets details of the port groups on a PowerMax array. Provides the ability to query port groups by protocol type.

EXAMPLES

Example 1

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

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

Example 2

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

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

Example 3

PS C:\> Get-PortGroup -Unisphere $unisphere -ArrayId 000123456789 -Type Fibre

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

Example 4

PS C:\> Get-PortGroup -Unisphere $unisphere -ArrayId 000123456789 -Type Fibre -Identify

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

Example 5

PS C:\> Get-PortGroup -Unisphere $unisphere -ArrayId 000123456789 -Id pg1,pg2

Where $unisphere is a Unisphere server instance. Returns details of port groups with IDs pg1 and pg2.

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

-Type

Protocol type. Differs between V3 arrays and V4 arrays.

V3 arrays use types: Fibre, iSCSI V4 arrays use types: SCSI_FC, iSCSI, NVMe/FC, NVMe/TCP

Type: String
Parameter Sets: All
Aliases:
Accepted values: Fibre, iSCSI, SCSI_FC, NVMe/FC, NVMe/TCP

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

Port 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.PortGroup

NOTES