VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

finding nic firmware details_powercli

Hi Luc,

can you suggest the way to find firmware of physical adapter

using below .looking for correct syntax

$esxcli.network.nic.get.Invoke(nicname = vmnic6)

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You mean something like this?

Get-VMHost -PipelineVariable esx |

ForEach-Object -Process {

    $esxcli = Get-EsxCli -VMHost $esx -V2

    $esxcli.network.nic.list.Invoke() |

    ForEach-Object -Process {

        $esxcli.network.nic.get.Invoke(@{nicname="$($_.Name)"}) |

        Select @{N='VMHost';E={$esx.Name}},

            @{N='NIC';E={$_.Name}},

            @{N='FirmwareVersion';E={$_.DriverInfo.FirmwareVersion}}

    }

}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
1 Reply
LucD
Leadership
Leadership
Jump to solution

You mean something like this?

Get-VMHost -PipelineVariable esx |

ForEach-Object -Process {

    $esxcli = Get-EsxCli -VMHost $esx -V2

    $esxcli.network.nic.list.Invoke() |

    ForEach-Object -Process {

        $esxcli.network.nic.get.Invoke(@{nicname="$($_.Name)"}) |

        Select @{N='VMHost';E={$esx.Name}},

            @{N='NIC';E={$_.Name}},

            @{N='FirmwareVersion';E={$_.DriverInfo.FirmwareVersion}}

    }

}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos