VMware Horizon Community
eyesonlyone
Contributor
Contributor

Identify connecting Endpoints by their computer name

Hey guys,

I just wonder if there is a possibility to see the computer name of the connected device (endpoint). We need to find out, from which computers our users are connected to their virtual desktops.

I wasn't able to find that information in the Horizon Console. I also tried the Horizon Toolbox which only gives me the endpoints IP address.

I know there is a variable "ViewClient_Machine_Name" as soon there is a connection established. But I need a central location to see all the computers users used to log in.

We are currently using Horizon 7.8

Any ideas?

kind regards,
Marcel

Tags (2)
Reply
0 Kudos
1 Reply
RoderikdeBlock
Enthusiast
Enthusiast

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
Reply
0 Kudos