Syntax
Get-VMHostHba [[-Device] <String[]>] [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-Type <HbaType[]>] [<CommonParameters>]Related Commands
Online VersionDetailed 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 objectsNotes
Examples
-------------------------- Example 1 --------------------------
Get-VMHostHba -Device *hba0* | fl
Retrieves the available HBA devices that contain "hba0" in their names.