VMware Horizon Community
KWhit61
Contributor
Contributor

Report on client Version installed on Local Machines

Does anyone have a PowerCLI or any other way to determine the client version installed on user local machines?  From the Horizon 7 Admin HTML version you can pull up the information for individual users if they have an active connection.  However, it would be nice to get a list of users at a site that are running older versions of the Horizon Client.

0 Kudos
3 Replies
Mickeybyte2
Hot Shot
Hot Shot

Hi,

You can find the version in the registry key:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\VMware, Inc.\VMware VDM\Client

e.g.: Version      REG_SZ     5.2.0

Michiel

Regards, Michiel.
0 Kudos
Suman1209
Enthusiast
Enthusiast

What are the end points used thin clients or thick clients If its a thick Client you can use the SCCM or SCOM to Pull the information of the clients installed at the end point.

If its a Thin client you can use the Management console of thin client to pull the information.

PS> Get-InstalledSoftware -ComputerName MYCOMPUTER -Name 'Application Name'

Regards Sumanth VCP7-DTM7 , DCV , NV, VCAP7-DTM Design If you found my answers useful please consider marking them as Correct OR Helpful
mchadwick19
Hot Shot
Hot Shot

You can use the ClientVersion property from the ViewAPI to see what connected users are connecting with. Although this will query only existing sessions, not all systems.

$viewServer = <FQDN of CS>

$viewCreds = Get-Credential

$hvServer = Connect-HVserver -server $viewServer -Credential $viewCreds

$ViewAPI = $hvServer.ExtensionData

$queryService = New-Object VMware.Hv.QueryServiceService

$query = New-Object VMware.Hv.QueryDefinition

$query.QueryEntityType = 'SessionLocalSummaryView'

$Sessions = $queryService.QueryService_Query($ViewAPI,$query)

Then you should be able to run:

$Sessions.results.namesdata | Select-Object UserName, ClientName,ClientVersion | ft

This will output all curently connected users, client system name and version. If the version is null or empty, the user is on a Thin Client.

VDI Engineer VCP-DCV, VCP7-DTM, VCAP7-DTM Design