Reply to Message

View discussion in a popup

Replying to:
Narayanan_5245
Enthusiast
Enthusiast

ESXi physical Network uplink status up/down report with switch information

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.