Hi
Add some tweak on LucD powercli, the script will run on specific cluster and will output to guid view...
&{foreach($esx in Get-Cluster -Name "cluster_name" | Get-VMHost){
foreach($sw in Get-VirtualSwitch -VMHost $esx){
foreach($nic in $_.Nic){
Get-VMHostNetworkAdapter -VMHost $esx -Name $nic |
where {$_.Name -like "vmnic*"} | %{
$_ | Select @{N="VMHost";E={$esx.Name}},
@{N="Switch";E={$sw.Name}},
Name,BitRatePerSec,@{N="Status";E={
if($_.BitRatePerSec -eq 0){"Down"}else{"up"}
}}
}
}
}
}} | Out-GridView