Posts

Showing posts from April, 2024

Reclaiming disk space from thin provisioned VMDK files on ESXi (2136514)

 Reclaiming disk space from thin provisioned VMDK files on ESXi (2136514) https://kb.vmware.com/s/article/2136514 Symptoms Virtual Machines (VM) using thin provisioned disk do not see size decrease after deleting files from the Guest Operating System.   Purpose This article provides steps to manually reclaim unused disk space by the Guest OS to shrink the thin provisioned disk. For more information, see  Storage Space Reclamation . Cause Deleting data from Guest OS only removes the data from the file allocation table but does not zero the blocks. As a result, the ESXi Host still sees the blocks in use even after deleting the data. Resolution Note:  Reclaiming disk space only works when the blocks on your virtual disk are not in use by the Guest OS.  Reclaiming disk space is a two steps process The first step is to delete the blocks on the Guest Operating System then reclaim space on the VMFS datastore. Be sure to follow the bellow steps in order. Step 1:...

SHORETEL: POWERSHELL SCRIPT TO INSTALL FEATURES AND ROLES FOR V14

ShoreTel: Powershell script to install features and roles for V14 I found this post written by Nathan Gibson   https://blogotubes.wordpress.com/2016/03/23/shoretel-powershell-script-to-install-features-and-roles-for-v14/ Updated 3/21/2017 to add registry keys for NTP, adjust DEP and various Windows Explorer settings and a prompt to change computer name. Here’s a PowerShell script to install the required features and roles for a ShoreTel 14+ installation on a Windows Server 2012 box. I ran this to get a list of currently installed features / roles on a fresh ShoreTel install on Server 2012 then added them to the script for future installs: Get - WindowsFeature | ? { $_ . Installed - match “ True ”} | Select - exp Name You’ll need to set the execution policy to Unrestricted first: Set-ExecutionPolicy Unrestricted Make sure to set it back to Restricted when finished: Set-ExecutionPolicy Restricted PowerShell Code: $ConfirmInstall = Read-Host -Prompt "Install Windows S...