Script Library

Order by
Showing controlup scripts that tagged 'user profiles, disk activity, uptimeindays, provisioning' ordered by Date

Recover Provisioning for Horizon Linked Clone Pool 1.1.3

This script acts when provisioning gets disabled for linked clones desktop pools because the overcommit ratio is set too low. It will calculate the correct ratio and set it to that. After changing the ratio it will enable provisioning and when set to true it can also force a rebalance of the datastores. When using iwth a trigger the Connection Server FQDN and Horizon Pool name need to be configured manually. 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. Credentials can be set using the 'Prepare machine for Horizon View scripts' script. tags:horizon, vdi, provisioning, vmware
Created: 2020-04-02
Modified: 2020-04-21
Creator: Wouter Kursten
Downloads: 11

Show or delete local user profiles 2.4.20

Finds and optionally deletes local user profiles. The user can provide two arguments - the minimum profile age in days and the minimum profile size. The default operation mode is to display the profiles that fit these criteria. When the "Delete" option is set to "true", the script will delete the profiles it found. tags:user profiles,disk space,vdi,rds,citrix
Created: 2018-12-26
Modified: 2020-06-10
Creator: Guy Leech
Downloads: 84

Run procmon and sample file access 2.10.45

Run the Sysinternals Process Monitor (procmon) utility for a specified amount of time for a selected process and see which files are most frequently accessed. If a path to an existing procmon executable is not given, it will be downloaded securely from the live.sysinternals.com site. Arguments: Monitor Period - the time in seconds to run the monitoring for. Monitoring for more than 60 seconds is not recommended as this can potentially impact system performance and disk space. Backing file - if not specified this will be in the \windows\temp folder on the system drive which on Citrix PVS booted systems can cause performance issues so specifying a file on a persistent local drive can help alleviate this potential issue. Procmon Location - the location of an existing copy of procmon.exe. If not specified and internet connectivity is available, it will be downloaded. tags:Procmon,IOPS,Disk Activity
Created: 2018-10-01
Modified: 2019-08-08
Creator: Guy Leech
Downloads: 309

Schedule reboot 2.5.10

Schedule a reboot for a number of minutes/hours in the future by creating a scheduled task which runs once only. By default the reboot will not occur if there are logged on users or disconnected sessions in existence at the scheduled reboot time. This script will not message users, log them off or prevent further logons from occurring. Arguments: Minutes:hours - the number of hours/minutes in the future at which to schedule the reboot, e.g. 2:30 for 2 hours and 30 minutes in the future (default is 30 minutes) Force - if set to true then the reboot will occur even if there are connected or disconnected user sessions at the time of the reboot (default is false) Reason for Reboot - optional text which be placed in the event log tags:$Uptimeindays,$Uptimeindays>="8"
Created: 2018-09-29
Modified: 2018-12-13
Creator: Guy Leech
Downloads: 66

Citrix Provisioning Services 7.8 Farm Check 1.0.9

The following script runs a report against the PVS farm using the latest PowerShell 7.7 and above PowerShell cmdlets. tags:Citrix, Provisioning Services,
Created: 2016-04-13
Modified: 2016-04-22
Creator: Andrew Morgan
Downloads: 281