Dear Members
Can you help to suggest a powercli script to get vCenter ESXi physical network uplink status (Up/down) in a tabular format. The details under esxcli.network.nic.list invoke in tabular format for all the hosts in the vCenter server.
$EsxHosts = Get-VMHost
foreach($EsxHost in $EsxHosts){
$esxcli = Get-VMHost $EsxHost | Get-EsxCli -V2
$esxcli.network.nic.list.Invoke()
}
Regards
Narayanan.