Automation

 View Only
  • 1.  get Intel NIC version on esxi server

    Posted Apr 13, 2022 07:33 AM

    Hi all,

    can someone pls help with the powershell syntax to get the Intel nic version on esxi server.

    Below is for Dell and its working however same way its not working for Intel NIC though I changed the driver name 

    -------------------------

    $dellnic = $esxcli.software.vib.list() | where {$_.name -eq "i40en"}

    @{N="Dell NIC Version";E={if($dellnic){$dellnic.version}else{n/a}}}



  • 2.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 07:37 AM

    Does $esxcli.software.vib.list() actually show the Intel NIC and it's version?

     

     



  • 3.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 07:53 AM

    not sure, but the syntax mentioned for dell is working fine and returns nic version like - 1.8.1.9-2vmw.670.3.73.14320388.



  • 4.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 07:58 AM

    Did you check?



  • 5.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 08:29 AM

    yeah its working from ssh shell

    esxcli software vib list | grep gb
    igbn 1.4.11.2-1vmw.703.0.20.19193900 VMW VMwareCertified 2022-03-17
    ixgben 1.7.1.35-1vmw.703.0.20.19193900 VMW VMwareCertified 2022-03-17

    i need to get this infor from powershell



  • 6.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 08:33 AM

    Did you try like this?

    $intelnic = $esxcli.software.vib.list() | where {$_.name -eq "igbn"}
    @{N="Intel NIC Version";E={if($intelnic){$intelnic.version}else{n/a}}}

    or with the other name that was returned?



  • 7.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 11:18 AM

    yeah i tried the same way with both driver names, however not getting any data in output.



  • 8.  RE: get Intel NIC version on esxi server

    Posted Apr 13, 2022 11:20 AM

    What does this return?

    $esxcli.software.vib.list() | where {$_.name -match "igbn|ixgben"} | 
    Format-Custom -Depth 1