Get-UnityDiskGroup Fails
ericstephani opened this issue · comments
ericstephani commented
I have brand new arrays running 4.4.1 using 3.4 TB flash disks. In the GUI, they are listed as 3.85 SAS Flash 4. When running Get-UnityDiskGroup it fails. Looks like you don't have this new enum.
Exception setting "diskTechnology": "Cannot convert value "8" to type "DiskTechnologyEnum" due to enumeration values that are not valid. Specify one of the following enumeration values and try again. The possible
enumeration values are "SAS,NL_SAS,SAS_FLASH_2,SAS_FLASH_3,Mixed,Virtual"."
At line:29 char:46
+ $Object."$($_.name)" = $D."$($_.name)"
+ ~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : ExceptionWhenSetting
dg_33 3.84 TB SAS Flash 4 Extreme_Performance 0 False 3762391351296 OK
Name Value
---- -----
PSVersion 5.1.16299.666
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.666
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 1.0.0.0 DnsClient {Resolve-DnsName, Add-DnsClientNrptRule, Clear-DnsClientCache, Get-DnsClient...}
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
Manifest 3.0.0.0 Microsoft.PowerShell.Security {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Script 1.2 PSReadline {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PSReadlineKeyHandler, Set-PSReadlineKeyHandler...}
Script 0.16.1 Unity-Powershell {Connect-Unity, Disable-UnityFastCache, Disconnect-Unity, Enable-UnityFastCache...}
ericstephani commented
Related to #60
Erwan Quélin commented
Hello @ericstephani
Thanks for your feedback, you're right all the enum related to the new version of the Unity OE are missing. Im currently very busy at work so I don't know when I will be able to do that. Any help would be very welcome !
Erwan Quélin commented
Hello,
It's normaly resolved in the latest version available in the develop branch. Could you give it a try ?