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.
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
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'
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.