Script library

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

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
Lists any Windows Updates available to be installed - or optionally install available Windows Update
View Script
Version: 3.11.19  •   Created: 2020-06-23  •   Modified: 2022-10-30
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.
View Script
Version: 1.3.18  •   Created: 2020-06-19  •   Modified: 2020-06-19
Analyze Group Policy Object's Group Policy Preferences load times, which helps break down Group Policy processing time by extension as well as by GPO. This allows for identifying individual GPOs that took longer than others to load.
Requires GPP Logging to be enabled. The script itself can enable GPP logging by running it against a session with -enable in the advanced options.
View Script
Version: 1.5.27  •   Created: 2020-06-18  •   Modified: 2020-08-27
This AVD Script Based Action will retrieve the image information that is stored for the Hostpool.
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.6.9  •   Created: 2020-06-13  •   Modified: 2020-07-22
This AVD Script Based Action allows you to send a message to a user, logged on to a AVD Desktop or RemoteApp session.
View Script
Version: 2.4.7  •   Created: 2020-06-13  •   Modified: 2022-08-31
avd azure 99
This AVD Script Based Action retrieves the user session information for a specified Hostpool.
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.4.10  •   Created: 2020-06-12  •   Modified: 2020-07-22
This WVD Script Based Action allows you to change the Hostpool Load Balancing Algorithm to either DepthFirst or BreadthFirst
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.5.5  •   Created: 2020-06-12  •   Modified: 2020-07-22
wvd 23
This WVD Script Based Action allows you to change the Max Session limit for a Hostpool.
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.6.9  •   Created: 2020-06-12  •   Modified: 2020-07-22
wvd 22
This script will scan the Security log for evidence of recent changes to the local Administrators group and report whether the required audit policy is configured on the machine.
View Script
Version: 1.7.8  •   Created: 2020-06-10  •   Modified: 2020-06-10
This script will check if the user is part of BUILTINAdministrators, directly named This script will check if the user is a member of BUILTINAdministrators, directly named
or inherited from other local or domain groups
View Script
Version: 1.5.5  •   Created: 2020-06-10  •   Modified: 2020-06-10
Search the local user profile for the specified user for Chrome & Edge Chrome extensions in the default location for the default Chrome profile and produce a list of them with the name of the extension
View Script
Version: 1.1.1  •   Created: 2020-06-01  •   Modified: 2020-06-01
Sets the Drain mode of an AVD Session Host to True or False
View Script
Version: 2.4.10  •   Created: 2020-05-23  •   Modified: 2022-08-31
avd azure 102
Search all local user profiles for Chrome & Edge Chrome extensions in the default location for the default Chrome profile and produce a list of them with the name of the extension and the count of the number of instances
View Script
Version: 1.1.6  •   Created: 2020-05-21  •   Modified: 2020-06-01
The AVD Script Based Action allows you to retrieve the AVD Application Groups for a specified Hostpool.
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.8.8  •   Created: 2020-05-19  •   Modified: 2020-07-22
Get Azure Virtual Desktop Session Host information of the machine/session.
View Script
Version: 2.10.11  •   Created: 2020-05-19  •   Modified: 2022-08-31
Gets the details of the AVD Hostpool the target machine/session is in.
Requires credentials created with scrip AZ Store Azure Credentials
View Script
Version: 2.11.17  •   Created: 2020-05-18  •   Modified: 2022-08-31
Script Action to store the required Service Principal credentials in an encrypted file for usage with the AVD Script Actions
README: https://support.controlup.com/hc/en-us/articles/360011378518
View Script
Version: 1.4.5  •   Created: 2020-05-18  •   Modified: 2020-07-22
wvd 47
Adds the chosen computer, which already has the ControlUp agent installed and running, to the chosen ControlUp folder.

Must be run on a machine running the ControlUp Monitor Service (this is not the ControlUp Agent Service)
View Script
Version: 1.1.10  •   Created: 2020-05-11  •   Modified: 2020-06-03
  • 8
  • of 23