Script library

Boost your management, troubleshooting and remediation capabilities with scripts created by experts in the IT community.

Uses the Horizon REST api's to pull all Error, Warning and Audit_Fail events from the Horizon Event database for all pods. If there is no cloud pod setup it will only process the local pod. After pulling the events it will translate the id's for the various objects to names to show the proper names where needed.

Output is displayed in the console but also saved to a default location of c:windowstempCU_Horizon_error_log.csv

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 Horizon Credentials to be set for the account running the scipt on the target machine, these need to be created using the 'Create credentials for Horizon scripts' Script Action
View Script
Version: 4.3.12  •   Created: 2020-08-27  •   Modified: 2023-10-25
Query the selected delivery controller via OData to retrieve connection failure details for a specific user, or all users, within a specified number of days ago
View Script
Version: 2.4.10  •   Created: 2020-08-05  •   Modified: 2020-12-01
Retrieve event id 7470 instances from the security event logs to gives details of the user account, the time and location of the lock out. Can filter a specified number of days back and/or a specific user name
View Script
Version: 1.5.10  •   Created: 2020-07-24  •   Modified: 2020-08-04
This AVD Script Based Action prepares the machine with the required PowerShell modules to run the AVD script based actions
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.1.1  •   Created: 2020-07-22  •   Modified: 2020-07-22
wvd 28
Test connectivity from the ControlUp console machine to the ControlUp Agent port (40705 by default) of the destination machine
View Script
Version: 3.8.10  •   Created: 2020-07-14  •   Modified: 2020-08-31
This will make a connection to the destination machine and gather the dynamic ports used by RPC and then check each one for connectivity from the ControlUp console machine.
View Script
Version: 2.2.5  •   Created: 2020-07-14  •   Modified: 2020-07-28
port rpc tcp 102
Gets the AVD Sessions hosts in the same pool as the target machine/session.
View Script
Version: 2.4.8  •   Created: 2020-07-10  •   Modified: 2022-08-31
The script will parse the records from the last X minutes (enter '0' to get all records from the past year). For all records with matching SessionID, UserName and MachineName the Active Application, Active Application Title and Active URL (if the active application is a browser) are displayed.
View Script
Version: 1.7.10  •   Created: 2020-07-08  •   Modified: 2020-08-05
Sends messages to the selected Horizon user/s. This script can be used to send messages to a single user session using the Horizon SOAP API's. It can also be used as an automated action with a fixed message and severity level. For the severity level these are allowed: INFO,WARNING, ERROR

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' Or by using the 'Install VMware PowerCLI' script.
If you get TLS/SSL errors use this command Set-PowerCLIConfiguration -InvalidCertificateAction ignore
or Set-PowerCLIConfiguration -InvalidCertificateAction warn
To get rid of the CEIP warning use Set-PowerCLIConfiguration -ParticipateInCeip $true
or Set-PowerCLIConfiguration -ParticipateInCeip $false
Credentials can be set using the 'Create credentials for Horizon View scripts' script.
View Script
Version: 2.4.6  •   Created: 2020-07-07  •   Modified: 2023-11-24
Perform health check analysis of VMware App Volumes on an end-point, reporting issues that may be or were user impacting. Also shows disk mounts and durations for App Volumes mounted for current user sessions.
View Script
Version: 3.8.16  •   Created: 2020-06-30  •   Modified: 2020-10-23
  • 14
  • of 45