I don't have a N1K handy right now, but does this list the connected ESXi hosts per N1K ?
foreach($dvsinGet-VDSwitch){
Get-View-Id ($dvs.ExtensionData.Config.Host|%{
$_.Config.Host}) |
Select@{N="dvSw";E={$dvs.Name}},@{N="ESX";E={$_.Name}}
}
I don't have a N1K handy right now, but does this list the connected ESXi hosts per N1K ?
foreach($dvsinGet-VDSwitch){
Get-View-Id ($dvs.ExtensionData.Config.Host|%{
$_.Config.Host}) |
Select@{N="dvSw";E={$dvs.Name}},@{N="ESX";E={$_.Name}}
}