Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, resource allocation, 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: 36

Set VM resource allocation level 1.0.2

This script will change the resource allocation of a given vSphere VM. By default, the allocation is increased one 'SharesLevel' for CPU, HDD, Memory or all three. If the SharesLevel for a resource is 'Custom' this will not be changed. ALL hard disks will be set to a new SharesLevel based on the current level of the FIRST disk. Example, script is set to Increase level for All resources: CPU SharesLevel 'Normal' ---> CPU ShareLevel 'High' Memory SharesLevel 'Custom' ---> Memory SharesLevel 'Custom' FIRST HDD SharesLevel 'Low', SECOND HDD SharesLevel 'Normal' ---> ALL HDD SharesLevel 'Normal' tags:vmware,resource allocation,performance,cpu,disk,ram,vcpu,vsphere
Created: 2019-03-19
Modified: 2019-03-19
Creator: Ton de Vreede
Downloads: 17

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

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