Get-VMFibreChannelHba

Gets the Fibre Channel host bus adapters associated with one or more virtual machines.

Syntax

Get-VMFibreChannelHba
   [-VMName] <String[]>
   [-ComputerName <String[]>]
Get-VMFibreChannelHba
   [-VM] <VirtualMachine[]>

Examples

Example 1

PS C:\>Get-VMFibreChannelHba -VMName MyVM

Gets the Fibre Channel host bus adapters associated with the virtual machine MyVM.

Required Parameters

-VM

Specifies a virtual machine or machines for which the Fibre Channel host bus adapters are to be retrieved.

Type:VirtualMachine[]
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMName

Specifies the friendly name or names of the virtual machines for which the Fibre Channel host bus adapters are to be retrieved.

Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:True

Optional Parameters

-ComputerName

Specifies one or more Hyper-V hosts on which the Fibre Channel host bus adapters are to be retrieved. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer - use "localhost" or a dot (".") to specify the local computer explicitly.

Type:String[]
Position:Named
Default value:.
Accept pipeline input:False
Accept wildcard characters:False