Get-Initiator
SYNOPSIS
Gets details of the initiators on a PowerMax array.
SYNTAX
All (Default)
Get-Initiator [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-DirectorId <String>] [-PortId <String>]
[-Identify] [<CommonParameters>]
ById
Get-Initiator [-Unisphere] <UnisphereServer> [-ArrayId] <String> -Id <String[]> [<CommonParameters>]
DESCRIPTION
Gets details of the initiators on a PowerMax array.
Getting details of all initiators in an array is a time consuming operation and can impact the performance of the Unisphere server. Use the -Identify option to list only initiator IDs.
EXAMPLES
Example 1
PS C:\> Get-Initiator -Unisphere $unisphere -ArrayId 000123456789 -Identify
Where $unisphere is a Unisphere server instance. Returns a list of all initiator IDs in the PowerMax array 000123456789.
Example 2
PS C:\> Get-Initiator -Unisphere $unisphere -ArrayId 000123456789 -Id 0102030405060708,iqn.2020-01.com.example:linux-1
Where $unisphere is a Unisphere server instance. Returns details of initiators with IDs 0102030405060708 and iqn.2020-01.com.example:linux-1.
Example 3
PS C:\> Get-Initiator -Unisphere $unisphere -ArrayId 000123456789 -DirectorId FA-1D
Where $unisphere is a Unisphere server instance. Returns details of initiators known to director FA-ID. Further refinement can be made by using the -PortId parameter.
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
The initiator unique ID.
Type: String[]
Parameter Sets: ById
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-DirectorId
The PowerMax director ID.
Type: String
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-PortId
The director port ID.
Type: String
Parameter Sets: All
Aliases:
Required: False
Position: Named
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.