Script library

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

This script unassigns a user from a machine. This will only work with dedicated desktop pools. It will receive the connection server fqdn, Desktop pool and machine names from the CU Console.

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'
View Script
Version: 1.4.4  •   Created: 2020-02-20  •   Modified: 2020-02-25
This script deletes a machine from an Horizon desktop pool. If it is a manual pool the machine will only be removed from the pool but not deleted. If it is an automated pool the user can be forcefully logged off (otherwise the script will fail, Horizon 7.7 or newer required) and the machine will be deleted.


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'
View Script
Version: 1.3.4  •   Created: 2020-02-20  •   Modified: 2020-02-25
Gets details about the client device of a session using the IGEL IMI Rest API.
Credentials will be requested upon execution and securely stored in an XML cred. file.
Note: Given that the common practice for the UMS server is to use the self signed Certificate,
this script will ignore SSL errors
View Script
Version: 3.1.6  •   Created: 2020-02-11  •   Modified: 2020-04-03
igel 116
Gets details about the attached assets/peripherals to a client device from the IGEL UMS using the IGEL IMI Rest API.
Note: Given that the common practice for the UMS server is to use the self signed Certificate,
this script will ignore SSL errors
View Script
Version: 1.1.2  •   Created: 2020-02-11  •   Modified: 2020-02-11
igel 67
This script disconnects Windows 10 search from Bing and Cortana online services, hiding online content from search results.
View Script
Version: 1.4.5  •   Created: 2020-02-09  •   Modified: 2020-02-09
This script will issue the Refresh command for a Horizon Linked Clone.
View Script
Version: 2.10.21  •   Created: 2020-02-04  •   Modified: 2022-04-25
Disables a Horizon Desktop pool

Can be used as an automated or manual action to disable a Horizon Desktop pool for planned maintenance.

This action should be executed against a Horizon endpoint machine (one which has the HZ Primary Connection Server column populated in ControlUp Console) which is part of the relevant Desktop Pool. The script uses the target machine to determine the connection server address and the Desktop Pool name, 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'
View Script
Version: 4.6.27  •   Created: 2020-02-02  •   Modified: 2023-05-24
This script finds a user session based on username and machine. This user is then logged off, even if the session is locked.
View Script
Version: 2.32.50  •   Created: 2020-01-26  •   Modified: 2023-11-24
This script Recovers a Horizon View Instant Clone using the VMware Horizon api's. You can use this to 'rebuild' an Instant Clone if there is an issue with the machine.
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.
View Script
Version: 3.6.8  •   Created: 2020-01-11  •   Modified: 2023-11-24
This script retreives the administrative users and groups in a Horizon View environment.
You can this script to make sure administrators have the right permissions in Horizon View?
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.
View Script
Version: 3.5.9  •   Created: 2020-01-11  •   Modified: 2020-02-04
  • 18
  • of 45