Script Library

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

<< Back to Script Library

Tag: view

(8 Scripts)
This script assigns a user to a Horizon desktop machine. This will only work with dedicated desktop pools.It will receive the connection server fqdn, Desktop pool and machine, login and domain 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'
Version: 1.3.5  |   Created: 2020-02-20  |   Modified: 2020-02-25  |   Creator: Wouter Kursten  |   Downloads: 31
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'
Version: 1.4.4  |   Created: 2020-02-20  |   Modified: 2020-02-25  |   Creator: Wouter Kursten  |   Downloads: 24
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'
Version: 1.3.4  |   Created: 2020-02-20  |   Modified: 2020-02-25  |   Creator: Wouter Kursten  |   Downloads: 42
This script will issue the Refresh command for a Horizon Linked Clone.
Version: 2.10.21  |   Created: 2020-02-04  |   Modified: 2022-04-25  |   Creator: Ton de Vreede  |   Downloads: 62
This script finds a user session based on username and machine. This user is then logged off, even if the session is locked.
Version: 2.32.50  |   Created: 2020-01-26  |   Modified: 2023-11-24  |   Creator: Ton de Vreede  |   Downloads: 223
Uses the VMware Horizon API via a Connection Server to query the events database for a given number of days back which contains events summarising the daily use and draws a chart with the data.

Requires the VMware PowerCLI PowerShell modules (specifically VMware.VimAutomation.HorizonView) which can be obtained from https://developer.vmware.com/tool/vmware-powercli
Version: 2.1.47  |   Created: 2019-08-15  |   Modified: 2023-07-30  |   Creator: Guy Leech  |   Downloads: 320
Disable Horizon View Maintenance Mode for the selected computer(s).
Version: 3.3.12  |   Created: 2014-11-26  |   Modified: 2022-06-13  |   Creator: Zeev Eisenberg  |   Downloads: 118
Enable Horizon View Maintenance Mode for the selected computer(s).
Version: 3.3.12  |   Created: 2014-11-26  |   Modified: 2022-06-13  |   Creator: Zeev Eisenberg  |   Downloads: 145