Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, service, vcpu' 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

Start stopped services 1.1.4

Finds services set as automatic start which are not running and starts them. tags:services,watchdog,restart
Created: 2019-03-18
Modified: 2019-03-18
Creator: Guy Leech
Downloads: 83

Restart service associated with process 1.1.2

This script attempts to locate a Windows service associated with a given process and issues it a start command, if not already started. tags:service,watchdog,restart
Created: 2019-02-17
Modified: 2019-02-24
Creator: Guy Leech
Downloads: 68

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

Citrix Provisioning Services 7.8 Farm Check 1.0.9

The following script runs a report against the PVS farm using the latest PowerShell 7.7 and above PowerShell cmdlets. tags:Citrix, Provisioning Services,
Created: 2016-04-13
Modified: 2016-04-22
Creator: Andrew Morgan
Downloads: 280

Display SvcHost processes 1.0.1

This script looks at all of the services running under svchost.exe (a generic wrapper) and tells which service is using which wrapper. tags:services,PowerShell
Created: 2014-09-02
Modified: 2014-09-02
Creator: ControlUp Support
Downloads: 470