equelin / Unity-Powershell

PowerShell module for managing EMC Unity arrays

Home Page:https://www.powershellgallery.com/packages/Unity-Powershell/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get-UnityDatastore Fails

ericstephani opened this issue · comments

We have VMware data stores running VMFS 6. Looks like that specific enum is missing.

Id                                                                                                   Name                                     Host          SizeTotal      SizeUsed
--                                                                                                   ----                                     ----          ---------      --------
rfc4122.31333937-3136-5355-4536-3137354d464c_ds:///vmfs/volumes/5b7d6ec3-43b3b34e-7097-1402eceedad8/ ustc_330_un02_t4_01                      @{id=Host_47} 4397778075648  3478509322240
Exception setting "format": "Cannot convert value "3" to type "DatastoreTypeEnum" due to enumeration values that are not valid. Specify one of the following enumeration values and try again. The possible
enumeration values are "Unknown,VMFS3,VMFS5"."
At line:29 char:46
+                 $Object."$($_.name)" = $D."$($_.name)"
+                                              ~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], SetValueInvocationException
    + FullyQualifiedErrorId : ExceptionWhenSetting

Duplicate as #59 but provides some more details.