Don't want to hijack the other thread so I'll open this new one. I am gathering infromation on a Vswitch, but this is really just a general powershell question.
This code gives me the information but none of it is expanded out. I tried to pipe it ot -expandpropety but I could only do one of them. Is there a way to expand it all out?
get-vmhostvmhost | select @{Name="VirtualSwitch";E={$_ |Get-VirtualSwitch-standard| SelectName}},
@{Name="PortGroups";E={$_ |Get-VirtualSwitch-standard| Get-VirtualPortGroup|Select Name,VlanId }},
@{Name="VMNics";E={$_ |Get-VMHostNetworkAdapter-Physical |selectName }},
@{Name="VMKernel";E={$_ |Get-VMHostNetworkAdapter-Vmkernel |selectName }}