Get-VMHostHba

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional
VMHost
VMHost[] 1
  • wildcards
  • pipeline
  • Specifies the hosts for which you want to retrieve HBAs.
    optional
    Device
    String[] named
  • wildcards
  • Specifies the devices of the HBA you want to retrieve.
    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
    HbaType[] named Specifies the type of the HBAs you want to retrieve. The valid values are Block, FibreChannel, iSCSI, and ParallelSCSI.

    Output

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

    Examples


    Example 1

    Get-VMHostHba -Device *hba0* | fl

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

    Related Commands

    Feedback

    Was this page helpful?