Hi All,
I'd like to know if anyone can assist me in sharing the PowerCLI script to list the Server NIC driver and firmware version ?
Note: I'm using HP Blade Server and this is the output of the manual ESX-CLI command:
HP BL 465c G8 | |
~ # ethtool -i vmnic0 | |
driver: be2net | |
version: 10.5.65.4 | |
firmware-version: 10.2.340.19 | |
bus-info: 0000:04:00.0 |
HP BL 465c G7 | |
~ # ethtool -i vmnic0 | |
driver: be2net | |
version: 10.2.293.0 | |
firmware-version: 4.9.416.7 | |
bus-info: 0000:04:00.0 |
Any kind of help would be greatly appreciated.
Thanks.
PowerCLI Version
----------------
VMware vSphere PowerCLI 6.0 Release 2 build 3056836
---------------
Component Versions
---------------
VMWare AutoDeploy PowerCLI Component 6.0 build 2358282
VMWare ImageBuilder PowerCLI Component 6.0 build 2358282
VMware vSphere PowerCLI Component 6.0 build 3052101
Does this work for you ?
$esxName = 'MyEsx'
$esxcli = Get-EsxCli -VMHost $esxName
$esxcli.network.nic.list() | %{
$esxcli.network.nic.get($_.Name) |
Select Name,
@{N='Driver';E={$_.DriverInfo.Driver}},
@{N='Version';E={$_.DriverInfo.Version}},
@{N='Firmware Version';E={$_.DriverInfo.FirmwareVersion}}
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Does this work for you ?
$esxName = 'MyEsx'
$esxcli = Get-EsxCli -VMHost $esxName
$esxcli.network.nic.list() | %{
$esxcli.network.nic.get($_.Name) |
Select Name,
@{N='Driver';E={$_.DriverInfo.Driver}},
@{N='Version';E={$_.DriverInfo.Version}},
@{N='Firmware Version';E={$_.DriverInfo.FirmwareVersion}}
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Many thanks for the great help @LucD !