Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, logon scripts, logging, cpu' 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

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

Show computer CPU details 1.4.7

This script returns the details of the target machine CPU(s) as reported by the OS via WMI, including properties like max clock speed, revision, and status. Use the Verbose option for extra details. tags:cpu,hardware
Created: 2018-12-02
Modified: 2018-12-17
Creator: Ton de Vreede
Downloads: 127

Show StoreFront log file 1.3.6

Pull all log separate Citrix StoreFront log files into a single time sorted csv file. You may need to change the StoreFront logging levels first which can be done with the "Show or Change StoreFront Logging" SBA. Use to help diagnose StoreFront issues. Arguments: Output csv file - full path to a local or remote file to store the log entries in Start - optional time to start log export from, e.g. just before the problem started or was reproduced. Can be specified as a date/time or as a number of units of time back from the present such as 7d or 1w where s=second,m=minute,h=hour,d=day,w=week,y=year End - optional time to stop log export at. Can be specified either as a date/time or a number of units of time from the start value specified. If date/time values are used, they must be enclosed in double quotes, e.g. "02/02/2018 08:00:00" tags:Citrix,StoreFront,Logging
Created: 2018-10-23
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 69

Show or change StoreFront logging level 1.4.14

Query or change the logging levels in Citrix StoreFront. Enable more verbose logging when troubleshooting potential StoreFront issues but turn the level back to off or error when finished to reduce the impact on CPU and free disk space. Arguments: Cluster - ff set to true then all servers in the cluster will be discovered and reported/operated on rather than just the selected computer (default is false) Trace Level - specify one of: 'Off', 'Error','Warning','Info','Verbose' or leave empty to query rather than change the current settings (default is empty) tags:Citrix,StoreFront,Logging
Created: 2018-10-17
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 52

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

Sample and display CPU core usage 1.5.10

Show the average usage for each CPU over a specified period of time. Can help to spot overloaded or over specified vCPU allocations for computers although the SBA should be run a number of times, particularly when under peak usage/load. Arguments: Capture Period - the number of seconds to monitor CPU usage for tags:CPU,Core usage,vCPU,
Created: 2018-09-29
Modified: 2018-11-21
Creator: Guy Leech
Downloads: 257