Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, content switching, logging, ram' 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 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

Set page file size and location 1.3.9

Set the page file to a specific drive or full path and its initial and maximum sizes. If the sizes are not specified, or specified as zero, then the page file sizes will be system managed. If the page file location is empty or set to "auto" then the page file will be automatically managed. A reboot will be required for the changes to take effect. Arguments: Page File Location - Either a drive, drive and folder or empty or set to "auto" where the latter two will result in the page file being automatically managed Initial Size - The initial size of the page file in MB. If zero then sizes will be system managed. Maximum Size - The maximum size of the page file in MB. If zero then sizes will be system managed. tags:Page file,RAM,Pages/sec
Created: 2018-10-14
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 125

Retrieve NetScaler Content Switching Binding information 1.0.1

Retrieve NetScaler Content Switching binding information, using the Invoke-RestMethod cmdlet for the REST API calls. tags:NetScaler, Content Switching,
Created: 2018-07-18
Modified: 2018-07-18
Creator: Esther Barthel, MSc
Downloads: 41

Get PVS Write Cache Size 2.12.18

A Script to obtain the Pool Non Paged Bytes which ultimately is an indication of the amount of Cache in Ram used by Citrix Provisioning Services. This script will output the amount of PVS Ram Cache in use. This is done by enumarating the amount of Pool nonPaged Bytes in use, which is a measure of the RamCache. Action should be taken if this figure is close to the amount allocated within PVS. The script also supports examining the PVS configuration of disk cache only. tags:Citrix, PVS, Cache in Ram, WriteCache,
Created: 2015-03-29
Modified: 2015-04-14
Creator: Matthew Nichols
Downloads: 1044