Script Library

Order by
Showing controlup scripts that tagged 'troubleshooting, spectre, vsphere' ordered by Date

Take ESX Console screenshot 1.4.7

This script uses CreateScreenshot_Task of an ESXi virtual machine through vCenter. The screenshot is the moved from the datastore folder of the VM to a location of choice. Screenshots are placed in the virtual machine configuration folder by default. The script moves the screenshot to the desired target folder. For these steps to succeed the account running the script needs the following priviliges: 1. Virtual Machine - Interaction - Create screenshot 2. Datastore - Browse Datastore 3. Datastore - Low level file operations tags:esx, vmware, screenshot, vsphere
Created: 2020-02-26
Modified: 2020-08-05
Creator: Ton de Vreede
Downloads: 6

Get parent process 1.1.5

Retrieves the details of a process's parent process. A WMI command is invoked to collect the Parent's PID and then used to filter tasklist results Additional output options REMarked tags:process,troubleshooting,tasklist,wmi
Created: 2019-04-03
Modified: 2019-04-03
Creator: mc
Downloads: 73

Kill IE tabs 1.5.28

This script finds Internet Explorer processes corresponding to tabs in which the URL matches the pattern provided by the user in the "Tab Title Pattern" argument, and kills these processes. Internet Explorer may recover the killed tab automatically, which is a default behavior controlled by the the "Enable automatic crash recovery" setting. When set to "yes", the "Disable Tab Recovery" setting of this script will prevent the killed tab from getting reopened. Tab recovery will then remain disabled at the user level. If the Force parameter is set to "yes", the script will terminate the processes it found, even if their count does not correlate to the number of tabs matching the provided pattern. Be advised that this option may result in closing more tabs than intended, and should be used with caution. tags:internet explorer, rds, vdi, browser, troubleshooting
Created: 2019-04-01
Modified: 2019-04-10
Creator: Guy Leech
Downloads: 67

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 host state to maintenance 1.4.10

Placing a host in Maintenance will migrate the powerred on VMs to other hosts in the cluster. If the Evacuate switch is passed all offline machines a migrated too. This script will only place a host in Maintenance if the cluster it is part of is DRSFullyAutomated. If the host uses a VSAN and the PowerCLI version is high enough the default VsanEvacuationMode setting will be used. This is only supported with PowerCLI 6 or higher. tags:vsphere,host,maintenance,vmware
Created: 2019-02-21
Modified: 2019-03-31
Creator: Ton de Vreede
Downloads: 25

Get datastore files 1.16.49

This script gets the files in a selected VMware vSphere Datastore, filtered by the last time they were modified and size. This is useful for researching disk space usage, specifically when you're intereseted in finding out which files consume significant storage space. tags:vsphere, datastore, disk space, storage, vmware
Created: 2019-01-16
Modified: 2019-04-28
Creator: Ton de Vreede
Downloads: 34

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: 104
1 - 7 of 12 Scripts
< Prev   1  2   Next >