This is a great vbscript, which will allow you to gather probably more information than you would like from your farm. Note: watch out if you have a larger farm, and like many people, who decide to put domain users as application users (can’t say that I haven’t done that before – lol). Oh and by the way – adding domain users to multiple icons in a large farm is a great way to slow down your management console.
Make note: This script will enumerate domain groups, as well as local groups per published application. If you have a domain group for all users published to a citrix icon, the enumeration will take some time to complete.
10/28/2009 (update): depending on the size and complexity of your farm, this script may take some time to run. To execute with no prompts use cscript. After launch, you will immediately see excel open and start rendering your spreadsheet. Watch wfshell.exe via task manager if you want to monitor the progress as the script gathers necessary data. We recently tested this both in XenApp 4.5 and 5.0, as well as on server 2008 64bit.