Check Provisioning Type of a Windows Server Volume

I had a question asked about how to determine whether or not a connected volume to a Windows Server host is thin provisioned or not. I put together the below PowerShell script to Check Provisioning Type: Retrieve the locally connected volumes. Since this is using Get-WMIObject this is usable across all versions of Windows Server […]


I had a question asked about how to determine whether or not a connected volume to a Windows Server host is thin provisioned or not. I put together the below PowerShell script to Check Provisioning Type:

  • Retrieve the locally connected volumes. Since this is using Get-WMIObject this is usable across all versions of Windows Server supported by Pure Storage.
  • Connect to the FlashArray and retrieve volumes.
  • Compare the UniqueId of the locally connected volumes to the FlashArray volume serial numbers.
  • Return the volume name which has the correlated serial number.

PowerShell:

Example Output:

I will be adding this as a cmdlet to the PowerShell Toolkit.