Script Library

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

Enable or disable Citrix Delivery Groups 1.1.6

Run on a Delivery Controller or where the CVAD PowerShell snapins are available, e.g. Studio is installed. User running the script must have sufficient permission to chage the enabled state of the selected delivery groups tags:citrix, xenapp, xendesktop, cvad, vdi, delivery groups
Created: 2020-10-06
Modified: 2020-10-13
Creator: Guy Leech
Downloads: 7

Show or disable unused Citrix Delivery Groups 2.6.19

Show how recently (in number of days) delivery groups have had sessions launched from them, by checking the last used property for each machine in a delivery group. Specify the minimum number of days last launched to show only delivery groups which have not had sessions launched within that number of days and optionally disable them. Specify 0 days to show all delivery groups. Run on a Delivery Controller or where the CVAD PowerShell snapins are available, e.g. Studio is installed. tags:citrix, xenapp, xendesktop, cvad, vdi, delivery groups
Created: 2020-10-02
Modified: 2020-10-09
Creator: Guy Leech
Downloads: 8

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

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

Change local group membership 1.4.12

Add or remove domain or local accounts to/from local groups on selected computers. Can either be done immediately or at a given date/time in the future via a scheduled task, e.g. remove specific users from the local admininstrators group in 1 day's time. Arguments: Users - a comma separated list of AD user accounts to add/remove to/from the specified group Local group - the name of the local group which will have the users added or removed Remove from group - if true then the specified users will be removed from the group, if false then the users will be added to the group (default is false) When - If nothing is specified, the action is taken immediately otherwise a scheduled task is created to perform the action at the data/time specified which can also be a number followed by a time unit, e.g. 8h for 8 hours or 1d for 1 day. If specifying a date/time, it must be enclosed in double quotes. tags:Users,Groups,Security
Created: 2018-10-22
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 38

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: 299
1 - 7 of 8 Scripts
< Prev   1  2   Next >