< Back

Get-VMHostHba

Sun Jan 19, 2020 6:55 pm

NAME Get-VMHostHba



SYNOPSIS

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





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-Device <String[]>

Specifies the devices of the HBA you want to retrieve.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Type <HbaType[]>

Specifies the type of the HBAs you want to retrieve. The valid values are Block, FibreChannel, iSCSI, and

ParallelSCSI.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VMHost <VMHost[]>

Specifies the hosts for which you want to retrieve HBAs.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more Hba objects







NOTES









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



Get-VMHostHba -Device *hba0* | fl



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



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... stHba.html

Get-IScsiHbaTarget

New-IScsiHbaTarget

Remove-IScsiHbaTarget

Set-IScsiHbaTarget

Set-VMHostHba