Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, logon scripts, auditpol, sessions' ordered by Date

Disable or Enable SSH on an VMware ESXi host 1.2.25

Using PowerCLI, Connect to vCenter and start or stop the SSH service on a host. Notet that , the computer running this script must have PowerCLI, and vCenter credentails are required during script execution. tags:$HypervisorPlatform="VMware",$SSHenabled
Created: 2019-10-04
Modified: 2019-10-04
Creator: mc
Downloads: 37

Enable requirements for Logon Duration Analysis 2.1.5

This script is designed to enhance the login measurements in a computer using auditpol, wevutil and reg commands and complete the requisites for the Analyze Logon Duration Script. It will additionally increase the size of the Group Policy and Print Service Event logs to retain the information for a couple of hours after login. Important note: This script modifies the audit policies on a computer and should be used with caution. If in doubt consult with your IT Security team. tags:Logon Duration,auditpol
Created: 2019-05-01
Modified: 2020-07-19
Creator: Marcel Calef
Downloads: 78

Disconnect or log off idle sessions 1.5.7

Disconnect or logoff sessions on the selected computer(s) which have been idle in excess of a given period, specified in minutes. Arguments: Idle Period - the time in minutes after which a disconnected session will be logged off or disconnected depending on the value for the "Logoff" argument (default is 30 minutes) Logoff - if true, sessions idle in excess of the idle period will be logged off, otherwise they will be disconnected (default is false so sessions will be disconnected) tags:Citrix,Log off,Idle Sessions,Disconnected Sessions
Created: 2018-10-13
Modified: 2018-11-23
Creator: Guy Leech
Downloads: 167

Show GPO logon scripts 1.4.9

Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO's name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified tags:Group Policy,Logon Duration,Logon Scripts
Created: 2018-10-05
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 459

Show recently disconnected sessions 1.6.19

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) tags:RDS,Sessions,Disconnected sessions,Citrix,XenApp
Created: 2018-07-18
Modified: 2018-11-21
Creator: Guy Leech
Downloads: 65