6 Replies Latest reply on Dec 8, 2009 10:53 AM by LucD

    How to determine if a disk is Thin

    utarion Novice


      I have a quick query.  I am trying to determine using Powershell if a Disk is thin provisioned or not. Is there a way programmatically to determine this? I was using the following but it does not provide me with what I want.



      $fileQueryFlags = New-Object VMware.Vim.FileQueryFlags

      $fileQueryFlags.FileType = $true

      $fileQueryFlags.FileSize = $true

      $fileQueryFlags.Modification = $true