Script Library

Order by
Showing controlup scripts that tagged 'user profiles, email, groups, uptimeindays' 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: 11

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

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

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

APPV: Remove App-V Connection Groups 1.0.1

This SBA will remove all App-V client connection groups for the selected computers. tags:App-V, Connection Groups
Created: 2016-02-10
Modified: 2016-02-10
Creator: jamie.brooks
Downloads: 25

Send e-mail 3.1.22

Send an e-mail message to the selected user(s) using Microsoft Outlook. Also requires the AD PowerShell module. tags:Email,PowerShell
Created: 2013-11-24
Modified: 2014-02-20
Creator: Zeev Eisenberg
Downloads: 212