Script Library

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

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

MS Patch check for Citrix 3.2.6

This script will check the target computer to see if Citrix's list of recommended Microsoft patches are installed for Windows Server 2012/2012 R2. This helps with Best Practice baselining. tags:Citrix, patching
Created: 2015-10-13
Modified: 2019-09-24
Creator: Zeev Eisenberg
Downloads: 144

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