Script linux/vMA, list vms in each portgroup

Hi, on Windows PowerCLi i can get easily all virtual machine in each network with this command "Get-VM | Select Name, @{N="PortGroups";E={Get-VirtualPortGroup -VM $_ | %{$_.Name}}}"
Is there any way to get this information with the tools installed on VSphere Management Assistant or any linux, like esxcli? Which command or tool i can use to get this information whitout powerCli?

0 Kudos
0 Replies