This Script Action uses the ServiceNow API to create an incident in ServiceNow IT Service Management. The script as presented is for a specific use case: it creates an incident containing the user’s full name, the user’s logon duration and the machine name.
This Script Action can also be used as an example/template for your own ServiceNow integration needs. See the script for more details on how to modify.
Pull all or just error, warning & critical event log entries from a given number of seconds before logon to a given number of seconds after logon. Can assist in finding causes of slow or incorrect logons.
Changes the amount of RDS hosts in a Horizon Farm.
This action should be executed against a Horizon endpoint machine (one which has the HZ Primary Connection Server column populated in ControlUp Console). The script uses the target machine to determine the connection server address, and is executed on the machine running ControlUp Console.
This script requires VMWare PowerCLI to be installed on the machine running the script. PowerCLI can be installed through PowerShell (PowerShell version 5 or higher required) by running the command ‘Install-Module VMWare.PowerCLI -Force -AllowCLobber -Scope AllUsers’
This script finds Internet Explorer processes corresponding to tabs in which the URL matches the pattern provided by the user in the “Tab Title Pattern” argument, and kills these processes.
Internet Explorer may recover the killed tab automatically, which is a default behavior controlled by the the “Enable automatic crash recovery” setting. When set to “yes”, the “Disable Tab Recovery” setting of this script will prevent the killed tab from getting reopened. Tab recovery will then remain disabled at the user level.
If the Force parameter is set to “yes”, the script will terminate the processes it found, even if their count does not correlate to the number of tabs matching the provided pattern. Be advised that this option may result in closing more tabs than intended, and should be used with caution.
Finds and optionally deletes local user profiles. The user can provide two arguments – the minimum profile age in days and the minimum profile size. The default operation mode is to display the profiles that fit these criteria. When the “Delete” option is set to “true”, the script will delete the profiles it found.
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)