Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, disk, vsphere' ordered by Date

Get available space for partition shrink or expand 2.3.10

This script checks all Basic partitions WITH DRIVE LETTERS to see if there is space availbale for shrinking and/or expansion. The following is also checked: - OS Version, this must be Windows 8/Server 2012 as a minimum to use the ControlUp partition expansion script - The Disk Status tags:disk space, disk usage, partition
Created: 2020-03-19
Modified: 2020-03-30
Creator: Ton de Vreede
Downloads: 22

Extend partition to use all available free space 1.2.7

This script uses standard PowerShell commands to expand the disk of Windows machine. For safety, this script only works if the following conditions are met: - At least 100Mb of free space available (this needs to be directly AFTER the chosen partition) - The Disk State must be Healthy - You must specify a drive letter of the disk to be expanded tags:disk space, free space, partition
Created: 2020-03-17
Modified: 2020-03-19
Creator: Ton de Vreede
Downloads: 27

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

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

Analyze drive contents with WinDirStat 1.10.35

Run WinDirStat (https://windirstat.net/) to analyze the usage of a drive. If executed for a Logical drive that will be used. If executed on a computer or session will be run for ALL Drives on that computer tags:free space, disk
Created: 2019-03-13
Modified: 2019-03-29
Creator: mc
Downloads: 191

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
1 - 7 of 17 Scripts
< Prev   1  2  3   Next >