Hi,
You could try it using PowerCLI.
I found this script in this article and added the clientname property to it. PowerCLI - List All View Connected Users and VM HostNames
$query = New-Object "Vmware.Hv.QueryDefinition"
$query.queryEntityType = 'SessionLocalSummaryView'
$qSrv = New-Object "Vmware.Hv.QueryServiceService"
$qSRv.QueryService_Query($global:DefaultHVServers[0].ExtensionData,$query) |
Select -ExpandProperty Results |
Select -ExpandProperty NamesData |
Select-Object -Property UserName,DesktopType,DesktopName,MachineOrRDSServerDNS,clientname
Roderik de Block
Blog: https://roderikdeblock.com