What does this produce ?
$dvSw=Get-VDSwitch-Name$vDSName
$dvSw.ExtensionData.Config.Host|
Select@{N="Host";E={Get-View$_.Config.Host|Select-ExpandPropertyName}},
@{N="Uplinks";E={[string]::Join('/',$_.UplinkPortKey)}}
Is the ESXi concerned in the list ?