rakhesh.com
Script to run esxcli unmap on all datastores attached to an ESXi host
It’s a good idea to periodically run the UNMAP command on all your thin-provisioned LUNs. This allows the storage system to reclaim deleted blocks. (What is SCSI UNMAP?) The format of the com…