vSphere PowerCLI Reference

Get-VMHostHba

Synopsis

Retrieves information about the available HBAs (Host Bus Adapter).

Syntax

Get-VMHostHba [[-VMHost] <VMHost[]>] [[-Device] <String[]>] [-Type <HbaType[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
Get-IScsiHbaTarget
New-IScsiHbaTarget
Remove-IScsiHbaTarget
Set-IScsiHbaTarget
Set-VMHostHba

Detailed Description

Retrieves information about the available HBAs (Host Bus Adapter).

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
DeviceString[]Specify the devices of the HBA you want to retrieve.falsefalse
VMHostVMHost[]Specify the hosts for which you want to retrieve HBAs.falsetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse
TypeHbaType[]Specify the type of the HBAs you want to retrieve. The valid values are Block, FibreChannel, iSCSI, and ParallelSCSI.falsefalse

Return Type

Hba

Notes

Examples

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

Get-VMHostHba -Device *hba0* | fl

Retrieves the available HBA devices that contain "hba0" in their names.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.