Script Library

Order by
Showing controlup scripts that tagged 'user profiles, disk activity, memory, storefront' ordered by Date

Cap Memory of Process 1.1.2

Set the maximum working set size for a process such that it cannot consume more than that amount of memory. Gives the ability to set a memory limit on a process, such as one with a known memory leak, so that it cannot consume more than the maximum memory specified via the parameter. Additional memory allocations will be allowed by the OS paging out some of the existing working set, generally the least recently used. tags:memory, working set
Created: 2019-06-10
Modified: 2019-12-12
Creator: Guy Leech
Downloads: 48

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

Create process memory dump 2.4.7

Creates a full process memory dump of the chosen process to a file in the folder specified. If the chosen process is werfault.exe then its parent process will be dumped instead Arguments: Dump Folder - the folder in which to create the dump file in the format ..dmp tags:process, memory dump, debugging
Created: 2018-12-01
Modified: 2020-06-04
Creator: Guy Leech
Downloads: 69

Show StoreFront log file 1.3.6

Pull all log separate Citrix StoreFront log files into a single time sorted csv file. You may need to change the StoreFront logging levels first which can be done with the "Show or Change StoreFront Logging" SBA. Use to help diagnose StoreFront issues. Arguments: Output csv file - full path to a local or remote file to store the log entries in Start - optional time to start log export from, e.g. just before the problem started or was reproduced. Can be specified as a date/time or as a number of units of time back from the present such as 7d or 1w where s=second,m=minute,h=hour,d=day,w=week,y=year End - optional time to stop log export at. Can be specified either as a date/time or a number of units of time from the start value specified. If date/time values are used, they must be enclosed in double quotes, e.g. "02/02/2018 08:00:00" tags:Citrix,StoreFront,Logging
Created: 2018-10-23
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 69

Show or change StoreFront logging level 1.4.14

Query or change the logging levels in Citrix StoreFront. Enable more verbose logging when troubleshooting potential StoreFront issues but turn the level back to off or error when finished to reduce the impact on CPU and free disk space. Arguments: Cluster - ff set to true then all servers in the cluster will be discovered and reported/operated on rather than just the selected computer (default is false) Trace Level - specify one of: 'Off', 'Error','Warning','Info','Verbose' or leave empty to query rather than change the current settings (default is empty) tags:Citrix,StoreFront,Logging
Created: 2018-10-17
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 52

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: 306