Script library

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

Showing 437 ControlUp scripts ordered by: Date
Disables provisioning on a Horizon RDS Farm

Can be used as an automated or manual action to disable provisioning for a Horizon RDS Farm

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'
Version: 2.1.9  |   Created: 2023-04-06  |   Modified: 2023-05-23  |   Creator: Wouter Kursten  |   Downloads: 8
Enables a Horizon RDS Server

Can be used as an automated or manual action to enableHorizon RDS Server after troubleshooting or 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'
Version: 2.0.3  |   Created: 2023-04-06  |   Modified: 2023-05-23  |   Creator: Wouter Kursten  |   Downloads: 14
Disables a Horizon RDS Server

Can be used as an automated or manual action to disable Horizon RDS Server for troubleshooting or 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'
Version: 2.0.12  |   Created: 2023-04-06  |   Modified: 2023-05-23  |   Creator: Wouter Kursten  |   Downloads: 14
Gets the Active Directory expiration date of specified users or all users within specified search bases.
Version: 2.1.12  |   Created: 2023-04-06  |   Modified: 2023-06-22  |   Creator: Rein Leen  |   Downloads: 36
Retrieve Azure Advisor recommendations for the selected VM(s), the resource group containing the VM or the whole subscription.
Version: 1.0.4  |   Created: 2023-04-04  |   Modified: 2023-04-05  |   Creator: Guy Leech  |   Downloads: 10
Check Profile Sizes examines user profiles for all or selected user accounts on the target machine, grouping the results by file type, using the extension.

For each group of files, if the size of the group exceeds a threshold (default 15% of the total profile size) the individual files are listed, sorted by path or by size (descending) and showing the actual file size in bytes.

To keep the output reasonably short, a threshold is set on the number of files shown individually per are listed by path (default 6) - beyond this, files are summarized by folder (order by count of files, descending).

Arguments:
ThresholdPercentToExpand (default: 15) - the threshold percent of the total profile size at which a file-extension group is listed.
SamAccountNameList (default: All) - the list of account names to be reported (comma-separated, any leading or trailing spaces will be trimmed). If set to All, the script will include local user and Active Directory user accounts.
SortBy (default: Size) - must be set to Size (individual files are listed by size, descending) or Path (individual files are listed by full path, ascending).
PreSummarySize (default: 6) - the number of files that will be listed individually (by group, according to the configured sort order) before the script switches to reporting files grouped by folder.
Version: 1.2.17  |   Created: 2023-03-08  |   Modified: 2023-03-23  |   Creator: Bill Powell  |   Downloads: 192
Query all services, both system and per-user, get the binary responsible for the service, which will be a dll when the service executable is svchost,exe and check its digital signature.
By default, only services whose binary is not validly signed will be shown but parameters are available to show any signing state and to show all services or just non-Microsoft ones
Version: 1.0.6  |   Created: 2023-02-23  |   Modified: 2023-02-23  |   Creator: Guy Leech  |   Downloads: 9
Measure the time taken from when an end user attempts to launch an AVD session to when that remote session becomes available. Designed to be used with AVD VMs which have "Start VM on Connect" enabled via their parent Host Pool
Version: 1.1.12  |   Created: 2023-01-25  |   Modified: 2023-05-15  |   Creator: Guy Leech  |   Downloads: 8
This script will return the current status of the Cloudpaging Player on a given machine.
Version: 2.0.7  |   Created: 2022-12-01  |   Modified: 2023-04-21  |   Creator: Rory Monaghan  |   Downloads: 7
This script will clear a user's Cloudpaging cache to effectively reset the cache as new.
Version: 2.1.8  |   Created: 2022-12-01  |   Modified: 2023-04-21  |   Creator: Rory Monaghan  |   Downloads: 3
  • 4
  • of 44