Tag: rds

(18 Scripts)

<< Back to Script Library
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.
Version: 2.4.20  •   Created: 2018-12-26  •   Modified: 2020-06-10
This SBA will check the event logs and report the negotiated RDP version.
Version: 1.5.13  •   Created: 2018-11-22  •   Modified: 2018-11-27
Logoff disconnected sessions on the selected computer(s) which have been disconnected in excess of a given period, specified in minutes.
Arguments:
Disconnected period - the time in minutes over which a user must have been disconnected before they are logged off (default is 10 minutes)
Version: 1.3.3  •   Created: 2018-10-13  •   Modified: 2018-11-23
Use quser.exe to find disconnected sessions on the chosen computer and order on the most recently disconnected, showing the user's logon time too.
Arguments:
Hours Back to Check - how far back to look for disconnected sessions so those disconnected before this time will not be included (default is 24 hours)
Version: 1.6.19  •   Created: 2018-07-18  •   Modified: 2018-11-21
Puts RDS hosts into maintenance mode using the chglogon command. The script will disable all new user connections to the server until it is rebooted (existing active connections are not affected).
Version: 1.0.5  •   Created: 2016-03-07  •   Modified: 2016-03-07