Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

ESXi Hosts pNIC get rx ring buffer size

$
0
0

Could someone help me get the ring buffer values from all the ESXi hosts for all the vmnics? I'm trying to get the hostname, vmnic name and its corresponding rx buffer values (both current and preset).

 

Snag_ebd1ba6.png

$Hosts=Get-VMhost

 

foreach($ESXiin$Hosts){

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

    foreach($vmnicin$EsxCli.network.nic.list.Invoke()){

        ForEach-Object-Process {

            $EsxCli.network.nic.ring.current.get.Invoke(@{nicname=$vmnic.Name})

            $EsxCli.network.nic.ring.preset.get.Invoke(@{nicname=$vmnic.Name})

        }

    }

}

Although the above code gives me the values, it still produces errors.

Snag_ebfe277.png

Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>