Hi!
Is it possible to get the mac address of an virtual desktop with View PowerCLI?
get-desktopvm -pool_id <Pool-ID> unfortunately returns only IP Address
Thx for help
Axel M.
You will need to connect to vcenter and use the get-vm command to get that information.
You want to use the Get-NetworkAdapter command in conjunction with the Get-VM command as piped input.
Get-VM [vmname] | Get-NetworkAdapter | Select-Object -expandProperty MacAddress
That will return only the MAC Address of any VM name that you enter, or multiple if you specify a wildcard.
Thx, but i think this is vsphere Power CLI, not Horizon View Power CLI, right?