Link to home
Start Free TrialLog in
Avatar of sirbounty
sirbountyFlag for United States of America

asked on

Getting a count of VM users

I'm just looking to obtain the number of users that have access to, and/or are actively using a virtual presence on our Citrix farms.
Is there a posh cmdlet that I've overlooked that will retrieve this information?  I seem to only be finding session counts...
ASKER CERTIFIED SOLUTION
Avatar of Ayman Bakr
Ayman Bakr
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sirbounty

ASKER

Not sure that's it.  I tried pulling it apart to determine how it was arriving at the results.  I finally ran it as-is - the result is 0 users, although the working log file does show seemingly valid numbers; not sure why they're not being brought over in the total.
Where did you run it on? You should have run it on one of the XenApp servers; moreover, you should run in an elevated cmd.
I found the problem in the comments below, the command to split the string had too many spaces in it.  Reducing that to 7, instead of the 15 it was coded to strip out, returned the current counts.
However, I'm more interested in totals of all who have the ability to access XenApp.  I'm wondering if queriying our AD groups may be a better approach...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial