May 072015
 

Just a quick script to grab XenDesktop 7.x licensing info… would probably work on XA 7.x as well.  As the script is written it has to be run on the licensing server itself, but you could easily rewrite it with an “Invoke-Command” to allow it to run remotely.  You could also modify it to email you when the licenses go above a certain threshold, and set it as a scheduled task.  The script just does “get” commands, so there is no risk (as it is) to your environment… go nuts.

http://pastebin.com/97C7kxHq