We are preparing for the migration from Hyper-V to VMware. I am collecting all information before migration. One of the tasks was to collect all the information about network cards connected to the VMs on the cluster. This is how I did it.
Get-VM -ComputerName (Get-ClusterNode -Cluster CLUSTER_NAME) | Get-VMNetworkAdapter | Select-Object VMName,Name,DynamicMacAddressEnabled, MacAddress,MacAddressSpoofing, Connected, SwitchName