Get VMware Host Bus Adapters (HBA) Information

This object retrieves information about one or more HBA(s) for one or more host(s).

Install VMware.PowerCLI

Before using this VMware Automation Manager Object, you must install the PowerShell module VMware.PowerCLI.

This VMware Automation Object runs on 64-bit PowerShell, and the module must also be added to 64-bit PowerShell.

Input Parameters

Name Type Required Description
Session ID String Yes The session ID that is generated by the VMware connection object.
This is required for this object to work.
ESXi Host Name String Yes The name of the ESXi host.
The field supports wildcard *, so to display all hosts, use "*" as the value.
HBA Name String Yes The name of the HBA about which you want to get information.
The field supports wildcard *, so to display all HBAs, use "*" as the value.

Output Parameters

Name Type Description
Host Bus Adapter Information Collection This is the list of Host Bus Adapters returned as an array to be used with a "Foreach" object. It contains following host information:

ItemTypeExample
AuthenticationCapabilityStringIScsiHbaAuthenticationCapability - Chap:True, Krb5:False, Spkm:False, Srp:False
AuthenticationPropertiesStringChap:Prohibited
CurrentSpeedMbDouble0
IScsiNameStringiqn.1998-01.com.vmware:tok-esx-01-3da0a90f
IsSoftwareBasedBooleanFalse
MaxSpeedMbDouble0
DeviceStringvmhba1
KeyStringkey-vim.host.BlockHba-vmhba1
ModelString2 port SATA IDE Controller (ICH9)
PciString0000:00:1f.2
DriverStringata_piix
VMHostIdStringHostSystem-ha-host
VMHostString10.199.2.23
StatusStringOnline
TypeStringIScsi
UidString/VIServer=root@10.199.2.23:443/
VMHost=HostSystem-ha-host/Hba=key-vim.host.InternetScsiHba-vmhba33/
NameStringvmhba1
VersionString 
VMResourceConfigurationString10.199.2.23
Records Found Number The number of records found and returned.
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

Name Type Required Example
Session ID String Yes ab4c55c1273cb609678a2bb6a15104e927ac8dec, 10.199.2.23
ESXi Host Name String Yes Esxhost1
*
HBA Name String Yes Vmhba33
*