I have worn out my little fingers searching and trying to crack open all the sub properties for nics. I see where I can extract the IPV4, and MAC address, along with the IPV6 addresses - but not where to retrieve the MAC address equivalent for IPV6 ... labeled as 'DHCPv6 Client DUID' in the output from 'ipconfig /all'
how do we crack that nut - and return DUID in the same way I can grab the mac using
((get-vm <HOST>).guest).where{$_.nics.connected -eq 'True'}.nics.macaddress