Get-IscsiTarget
SYNOPSIS
List the iSCSI targets on a PowerStore cluster.
SYNTAX
Get-IscsiTarget [-Cluster] <Cluster> [-WithAddress] [-Raw] [<CommonParameters>]
DESCRIPTION
List the iSCSI targets on a PowerStore cluster.
EXAMPLES
Example 1
PS C:\> Get-IscsiTarget -Cluster $cluster
Where $cluster is a PowerStore cluster instance. Lists all iSCSI targets. Includes targets with no configured addresses.
Example 2
PS C:\> Get-IscsiTarget -Cluster $cluster -WithAddress
Where $cluster is a PowerStore cluster instance. Lists iSCSI targets which have configured addresses.
Example 3
PS C:\> Get-IscsiTarget -Cluster $cluster -Raw
Where $cluster is a PowerStore cluster instance. Lists all iSCSI targets. Includes targets with no configured addresses. Outputs in textual form where each field is separated by a pipe (|) symbol. There are no headers in this form.
PARAMETERS
-Cluster
The PowerStore cluster.
Type: Cluster
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Raw
Output as text with fields separated by the pipe (|) symbol.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WithAddress
Output only targets which have configured IP addresses.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
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.