Hi,
i need to export a file which includes the VM-Name, the MAC and the UUID
I have some command which seem to be interresting, but they´re not doing what I want...
Get-Network-Adapter VMServerP* shows the following Information of all VM-NetworkAdapters of the VM´s beginning with VMServerP
example:
MacAddress : 00:50:56:8c:45:1b
WakeOnLanEnabled : False
NetworkName : 192.168.10.0-24
Type : e1000
ConnectionState : VMware.VimAutomation.Client20.ConnectInfoImpl
Id : VirtualMachine-vm-204839/4000
Name : Network adapter 1
Get-VM VMServerP* | %{(Get-View $_.Id).config.uuid} simply shows the uuid (without the name of the VM)
420c6d76-18df-b8dc-b4a8-60d14584aa09
I would like to get an output as follows (or someting like that, maybe seperated by comma)
VMServerP1 00:50:56:8c:45:1b 420c6d76-18df-b8dc-b4a8-60d14584aa09
Can anyone help?
thx