Get-IScsiHbaTarget Command | Vmware PowerCLI Reference

Get-IScsiHbaTarget

This cmdlet retrieves the available iSCSI HBA targets. The cmdlet retrieves the configured targets (send and static) on the specified iSCSI storage adapters. If IPEndPoint is specified, filters the result by <Address>:<Port>. If no IScsiHba is provided - retrieves all targets from the entire inventory.

Syntax

Get-IScsiHbaTarget
[ [-IScsiHba ] < IScsiHba[] > ]
[-IPEndPoint < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[-Type < IScsiHbaTargetType[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional IScsiHba IScsiHba[] 1
  • pipeline
  • wildcards
Specifies the iSCSI HBA whose targets you want to retrieve.
optional IPEndPoint String[] named
Specifies <Address>:<Port> to filter the available iSCSI HBA targets.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
optional Type IScsiHbaTargetType[] named
Specifies the type of the iSCSI HBA targets you want to retrieve. The valid values are Send and Static.

Output

VMware.VimAutomation.ViCore.Types.V1.Host.Storage.IScsiHbaTarget

Examples

Example 1

Get-IScsiHbaTarget -Address "10.23.84.73" -Type Send

Retrieves the targets of type Send on the specified address.

Related Commands

IScsiHbaTarget

This cmdlet retrieves the available iSCSI HBA targets.

This cmdlet creates a new iSCSI HBA target.

This cmdlet removes targets from their iSCSI HBAs.

This cmdlet modifies the configuration of an iSCSI HBA target.