Find Unused Citrix VDAs Script.
Description: This script finds and reports to text file Citrix XenApp or XenDesktop VDAs which have not been logged on to for a defined period of time. This is helpful when determining VDAs that are now unused and can be reassigned or decommisioned.
Instructions: To avoid failure, run PowerShell as an administrator with atleast Read Only Citrix administrator permissions. Run this script from a Delivery Controller.
Download (click below):
Any problems with the script or if you want to make your own improvement suggestions then comment below.
Open the script using a text editor or PowerShell ISE to see what exactly the script does.
This script is not signed so when downloading you may receive a “Publisher could not be verified” message, this is generally only appearing on Internet Explorer and not the likes of Google Chrome. You can still download the file regardless.