Script Library

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

Check Citrix User Device license Usage 1.19.27

The script uses udadmin.exe and display the license(s) checked out for the selected username and/or client device. Note that the script is required to run in the Citrix License Server. WARNING: avoid running the script against multiple sessions simultaneously to prevent significant resource consumption in the Citrix license server. tags:$ClientName
Created: 2019-10-03
Modified: 2019-10-18
Creator: mc
Downloads: 61

SSH to a Computer 2.8.37

Location of putty.exe, Computer IP and Username must be provided. Password is optional and a better recommendation is use a authorized key saved in putty's default settings (https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter8.html) You can download from https://www.putty.org tags:$OperatingSystem,$Name,$OperatingSystem=*Linux*,$IPAddresses=.*
Created: 2019-04-22
Modified: 2019-07-18
Creator: mc
Downloads: 46

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

Get NetScaler Hardware Information 3.1.9

tags:NetScaler statistics,Troubleshooting,$Name
Created: 2018-11-30
Modified: 2019-07-03
Creator: mc
Downloads: 63

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

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