Use this:
Get-VMHost | Get-VMHostNetworkAdapter -VMKernel | Where { $_.VMotionEnabled -eq $true } | Select VMHost, Name, IP, PortGroupName,
@{N='VLAN'; E={(Get-VirtualPortGroup -VMHost $_.VMHost -Name $_.PortGroupName).ExtensionData.Config.DefaultPortConfig.Vlan.VlanId}} | Format-Table -autosize