Try it like this
Get-VMHostesx1.local.test|Get-VM|
SelectName,@{N="NetworkName";E={[String]::Join(',',($_|Get-NetworkAdapter|Select-ExpandPropertyNetworkName))}}
I used the Join function, because a VM can have more than 1 NIC
Try it like this
Get-VMHostesx1.local.test|Get-VM|
SelectName,@{N="NetworkName";E={[String]::Join(',',($_|Get-NetworkAdapter|Select-ExpandPropertyNetworkName))}}
I used the Join function, because a VM can have more than 1 NIC