## PowerCLI Reference

# Get-VMHostHba

## Synopsis

This cmdlet 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

This cmdlet retrieves information about the available HBAs (Host Bus Adapter).

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Device | String[] | Specifies the devices of the HBA you want to retrieve. | false | false
VMHost | VMHost[] | Specifies the hosts for which you want to retrieve HBAs. | false | true (ByValue)
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. | false | false
Type | HbaType[] | Specifies the type of the HBAs you want to retrieve. The valid values are Block, FibreChannel, iSCSI, and ParallelSCSI. | false | false

Return Type

Zero or more Hba objects

Notes

Examples

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

    Get-VMHostHba -Device *hba0* | fl

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

Copyright © VMware, Inc. All rights reserved.