VMware Horizon Community
sandydean1972
Contributor
Contributor

VMWare Horizon 7 Named User licenses

Hello all,

I am trying to obtain an accurate account of how many users that are actively using their assigned Named User license.  Also, I need to pin down the number of virtual desktops that are actively in use.

Any assistance would be greatly appreciated.

Warmest regards,

Sandy

0 Kudos
1 Reply
lucasitteam
Enthusiast
Enthusiast

Here is what I did. I followed the VMware Knowledge Base

But end up spending 2 hours how to write SQL query.

Below might help you. But remember the prefix.

SELECT a.ModuleAndEventText,a.Time

From dbo.Event_event_historical a

INNER JOIN

(SELECT ModuleAndEventText,

MAX(Time) as Time

from dbo.Event_event_historical

GROUP BY ModuleAndEventText

) AS b

ON a.ModuleAndEventText = b.ModuleAndEventText

AND a.Time = b.Time

WHERE EventType = 'Agent_CONNECTED';

You get the output since the view environment was built.

Export result in Excel sheet anf filter by the year.

You will need do little excel trick to remove the duplicate users.

0 Kudos