Is it possible to add a few more information's to the script?
I would also need Vendor ID (VID), Device ID (DID), Sub-Vendor ID (SVID), and Sub-Device ID (SDID) for nic and hba.
If you connect to esx host via putty and run this command "mkchdev -l |grep vmnic", the result for nic would be
002:01.0 8086:100f 15ad:0750 vmkernel vmnic0
In this example, the values are:
VID = 8086
DID = 100f
SVID = 15ad
SDID = 0750
same command for hba
vmkchdev -l |grep vmhba
Can this be added to the script?