11/11/2009 - made some significant updates to the ICA Client script below after noticing on error was enabled and was inevitably carrying the hostname variable to the next instance upon error. Which resulted in different users all appearing as if they were using the same hostname. After correcting the error in case 31560 everything looked good. Doh! And I was getting upset at some SCCM administrators for deploying the unsupported 11.1 and 11.2 Citrix clients. Sorry about that one!
10/26/2009 - added support for the Citrix 11.2.0 client
Ok so lately, I’ve been somewhat on the lazy side and have been looking for some type of creative way to gather farm metrics, and not have to tool around with the summary database or metrics server. Note: Although its not possible to gather citrix client versions via the metrics server, it is possible to gather the data via the summary database. That being said, here is a great way to quickly query your farm and report back user information such as client version, server name, application name and user name to an easy to read spreadsheet.
Run the following vbscript as many times as you want, each spreadsheet will be named a unique value based on time and date for easy management. I’ll also do my best to keep up with the versioning. Right now the script will detect Windows 7 rdp sessions, and the latest Citrix 11 client.