Link to home
Start Free TrialLog in
Avatar of Alex
AlexFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Xenapp 6.5 Powershell question

Good afternoon all,

right, so long story short we thought it was a great plan to save some money and rip out the application which did all of our usage reports. I've now got to get this working in powershell and get a report of all the applications in a farm and how many users are currently using it.

Any idea how? I have the SDK installed but I'm not sure how to get currents apps and then pipe this through to a current used by.

I've been looking at google but not found much, any help would be great, a script will make you a legend :D

Cheers

Alex
ASKER CERTIFIED SOLUTION
Avatar of Carl Webster
Carl Webster
Flag of United States of America 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
Was just about to recommend Webster's scripts, we use them extensively for Citrix discovery.
Avatar of Alex

ASKER

Just running it on my test bed now, if it works, you're a legend among men!
It works, and the man is a legend of community contributions. Every Citrix project we do we use his scripts for discovery.
Thanks James.

You can try the full documentation script here:

http://carlwebster.com/downloads/download-info/xenapp-6-5/

There is a parameter you can use to have only the application data in the report. Combine with the answer to the other EE question and you have what you need. Now all bets are off if you use Domain Users or Authenticated Users for any published resource as that means every user in AD.
Avatar of Alex

ASKER

Where does it output the file to?

Cheers

Alex
Should be in the folder from where the script is run. For the documentation script, there is a -Folder parameter so you can save the output where you want.
$TotalUsers.ToString() | Out-File "$($pwd.path)\AllXA65Users.txt"
$AllUsers | Out-File -append "$($pwd.path)\AllXA65Users.txt"

Yes, to the folder where the script is run from.
Avatar of Alex

ASKER

Legendary!!!!