Get-HostInitiator

SYNOPSIS

Gets host initiators of a given PowerStore host. Optionally, an initiator port name can be specified to get information about that host initiator.

SYNTAX

ByHostName (Default)

Get-HostInitiator [-Cluster] <Cluster> [-HostName] <String> [<CommonParameters>]

ByHostNameAndPortName

Get-HostInitiator [-Cluster] <Cluster> -HostName <String> -PortName <String> [<CommonParameters>]

ByHostId

Get-HostInitiator [-Cluster] <Cluster> -HostId <String> [<CommonParameters>]

ByHostIdAndPortName

Get-HostInitiator [-Cluster] <Cluster> -HostId <String> -PortName <String> [<CommonParameters>]

DESCRIPTION

Gets host initiators of a given PowerStore host. Optionally, an initiator port name can be specified to get information about that host initiator.

EXAMPLES

Example 1

PS C:\> Get-HostInitiator -cluster $cluster -HostId Id1

Where $cluster is a PowerStore cluster instance.

Example 2

PS C:\> Get-HostInitiator -cluster $cluster -HostName name1

Where $cluster is a PowerStore cluster instance.

Example 3

PS C:\> Get-HostInitiator -cluster $cluster -HostId Id1 -PortName initName1

Where $cluster is a PowerStore cluster instance and initName1 is the port name of the initiator.

Example 4

PS C:\> Get-HostInitiator -cluster $cluster -HostName name1 -PortName initName1

Where $cluster is a PowerStore cluster instance and initName1 is the port name of the initiator.

PARAMETERS

-Cluster

PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

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

-HostName

Host Name.

Type: String
Parameter Sets: ByHostName, ByHostNameAndPortName
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-HostId

Host Id.

Type: String
Parameter Sets: ByHostId, ByHostIdAndPortName
Aliases:

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

-PortName

Initiator Port Name.

Type: String
Parameter Sets: ByHostIdAndPortName, ByHostNameAndPortName
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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

System.String

OUTPUTS

Dell.PowerStore.Management.Model.HostInitiator

NOTES