< Back

Get-IScsiHbaTarget

Sun Jan 19, 2020 6:50 pm

NAME Get-IScsiHbaTarget



SYNOPSIS

This cmdlet retrieves the available iSCSI HBA targets.





SYNTAX

Get-IScsiHbaTarget [[-IPEndPoint] <String[]>] [[-IScsiHba] <IScsiHba[]>] [-Server <VIServer[]>] [-Type

<IScsiHbaTargetType[]>] [<CommonParameters>]





DESCRIPTION

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.





PARAMETERS

-IPEndPoint <String[]>

Specifies <Address>:<Port> to filter the available iSCSI HBA targets.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-IScsiHba <IScsiHba[]>

Specifies the iSCSI HBA whose targets you want to retrieve.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Type <IScsiHbaTargetType[]>

Specifies the type of the iSCSI HBA targets you want to retrieve. The valid values are Send and Static.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more IScsiHbaSendTarget or IScsiHbaStaticTarget objects







NOTES









-------------------------- Example 1 --------------------------



Get-IScsiHbaTarget -Address "10.23.84.73" -Type Send



Retrieves the targets of type Send on the specified address.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... arget.html

New-IScsiHbaTarget

Remove-IScsiHbaTarget

Set-IScsiHbaTarget

Get-VMHostHba

Set-VMHostHba