vin01
Expert
Expert

Oops i'm sorry that was my mistake I need every online HBA WWN (In my case 2 online HBAs)  If it repeats every information for second HBA WWN its OK.For Example I'm writing sample out for a Host

Datacenter   : test DC

VMHost       : 10.50.37.27

HostName     : ihydvs46k21

ver          : 5.0.0

Manf         : Sun Microsystems

Hostmodel    : Sun Fire X4600 M2

SerialNumber : 0805AM0202

Cluster      : SUN-UAT

HBA Device   : {vmhba0, vmhba1}

HBA Model    : {ISP2422-based 4Gb Fibre Channel to PCI-X HBA, ISP2422-based 4Gb Fibre Channel to PCI-X HBA}

HBA Status   : {online, online}

WWN          : 21:00:00:e0:8b:94:50:ab

fnicdriver   : 2.1.2.38-1OEM.500.0.0.472560

Fnicvendor   : Cisco

enicdriver   : Version 2.1.2.38, Build: 472560, Interface: 9.2 Built on: Aug 15 2012

Enicvendor   : VMware

======================================

Datacenter   : test DC

VMHost       : 10.50.37.27

HostName     : ihydvs46k21

ver          : 5.0.0

Manf         : Sun Microsystems

Hostmodel    : Sun Fire X4600 M2

SerialNumber : 0805AM0202

Cluster      : SUN-UAT

HBA Device   : {vmhba0, vmhba1}

HBA Model    : {ISP2422-based 4Gb Fibre Channel to PCI-X HBA, ISP2422-based 4Gb Fibre Channel to PCI-X HBA}

HBA Status   : {online, online}

WWN          : 21:01:00:e0:8b:b4:7e:ab

fnicdriver   : 2.1.2.38-1OEM.500.0.0.472560

Fnicvendor   : Cisco

enicdriver   : Version 2.1.2.38, Build: 472560, Interface: 9.2 Built on: Aug 15 2012

Enicvendor   : VMware

===================================

yes when i tried for few hosts as $esxcli.software.vib.list() | Select Name,Vendor


as default .net.(nic) vendor name is showing vmware only.

so can we get nic card information using  $esxcli.hardware.pci.list().If not possible its ok ill use one of your earlier script in this post to get nic card vendor information.


Regards Vineeth.K