Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, resource allocation, fileredirection, handle' 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 proceses locking a file 1.3.3

For any file on the target computer for which the user provides the full path, displays a list of processes with open handles to the file. This is useful for determining which process is locking the file, preventing its deletion or editing in another program. The action makes use of Sysinternals handle.exe, which is downloaded, extracted into a temporary location and deleted after completion. tags:troubleshooting, handle, disk
Created: 2018-12-11
Modified: 2019-04-03
Creator: Guy Leech
Downloads: 105

Find Folder Redirection Errors 2.3.8

This script looks for Folder Redirection errors (Event ID 502) that occurred on the selected managed computer within the last 30 days. tags:FileRedirection, EventLog,folder redirection,group policy
Created: 2017-05-21
Modified: 2019-03-17
Creator: Carl Webster
Downloads: 375