Target Type: Virtual Machine
Output format: action
param
(
[Parameter(Mandatory=$true)]
[VMware.VimAutomation.ViCore.Types.V1.Inventory.VirtualMachine[]]
$vParam
);
$vm = get-vm $vParam
$vm.NetworkAdapters | select Parent, Name, NetworkName, Type, ConnectionState, MacAddress | Format-Table