VMware Cloud Community
AlbertWT
Virtuoso
Virtuoso
Jump to solution

How to get Network Card driver and firmware version on the using PowerCLI ?

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

/* Please feel free to provide any comments or input you may have. */
Tags (2)
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

View solution in original post

2 Replies
LucD
Leadership
Leadership
Jump to solution

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

AlbertWT
Virtuoso
Virtuoso
Jump to solution

Many thanks for the great help @LucD !

/* Please feel free to provide any comments or input you may have. */
Reply
0 Kudos