Version 3

    This scripts functions similar to that of PowerCLI equivalent at: which extracts all VMDK(s) for a given VM and displays the full VMDK path, whether or not the disk was thin provisioned or not and disk mode. There is an additional argument that can be passed on the commandline which will filter only thin provisioned VM(s) and the script can be executed against ESX(i) or vCenter system.



    • Dec 19th 2009- Added SCSI Adapter and Target information for each VMDK

    • Oct 29th 2009 - Added Disk backing version info as found here



    ESX(i) 3.5/4.0

    vCenter 2.5/4.0

    vSphere SDK for Perl or vMA


    Sample Execution:


    Display all VM(s):


    Display all VM(s) with thin provisioned disks only: