Performs a test of all the technical requirements for HDX content redirection, which can potentially save bandwidth and CPU. The script’s output provides the test results along with recommendations on components that need to be enabled or upgraded for content redirection to work.
Run on a Delivery Controller or where the CVAD PowerShell snapins are available, e.g. Studio is installed. User running the script must have sufficient permission to chage the enabled state of the selected delivery groups
Show how recently (in number of days) delivery groups have had sessions launched from them, by checking the last used property for each machine in a delivery group. Specify the minimum number of days last launched to show only delivery groups which have not had sessions launched within that number of days and optionally disable them. Specify 0 days to show all delivery groups.
Run on a Delivery Controller or where the CVAD PowerShell snapins are available, e.g. Studio is installed.
This is a simple script that restarts the BrokerAgent service on a Citrix VDA. This is useful when VDAs become unregistered. It forces them to try to re-register to a Delivery Controller. In some instances a reboot of the VDA may be required, for everything else there’s this SBA!
Show the client device Operating System type form for a specific user session. Use this script without requesting the display of the Receiver version to get the results grouped by client OS (available only as a ControlUp Script Based Action).
Categorization of the Client OS is accomplished by querying the Citrix VDA or XA65 worker for the ClientPlatformId registry value in the appropriate Citrix ICA hive for that user session and follow the conversion described in this document: https://www.citrix.com/mobilitysdk/docs/clientdetection.html
Citrix Apps and Desktops (formerly XenApp and XenDesktop) introduced Adaptive transport which automatically chooses between TCP & UDP for the HDX sessions. This script will leverage the ctxsession command to display the current status of the active HDX sessions.
Show the configuration changes made in Citrix Studio in a given time window, optionally filtered on a specific user. Use this SBA to see if any changes have been made which might be affecting end users. Arguments: Start – optional time to show changes from. Can be specified as a date/time or as a number of units of time back from the present such as 7d or 1w where s=second,m=minute,h=hour,d=day,w=week,y=year (default is 7 days) End – time to stop showing changes after. Can be specified either as a date/time or a number of units of time from the start value specified. (default is the current time) If date/time values are used, they must be enclosed in double quotes, e.g. “02/02/2018 08:00:00” Username – optional name of a user to just show changes for
Recurses AD groups found to show all user accounts with any access to Citrix Studio. Needs to be run using an account that has at least read-only Studio access. Use it to see exactly which users have access and what level. Arguments: User Name to Query – an optional username or regular expression to restrict the display to
If a name is specified as a parameter then only that account is reported on
Use quser.exe to find disconnected sessions on the chosen computer and order on the most recently disconnected, showing the user’s logon time too. Arguments: Hours Back to Check – how far back to look for disconnected sessions so those disconnected before this time will not be included (default is 24 hours)
This script runs on the the target VDIXenApp computer. It will initiate a trace route command from the VDIXenApp machine to the client device. This will help identify which hop between the two devices has the highest latency.
The script runs on the ControlUp Console computer and initiates an HDX connection against one or more XenApp servers in order to check the server’s health. The script does not perform any actual login activity to the targeted XenApp server.
For a machine streamed using Citrix Provisioning Services, marks the device as down, resets the Active Directory machine account password and reboots the device. This action should be executed on a PVS server with MCLI PowerShell snap-in installed.