Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Exception setting "replicationType": "Cannot convert value "3" to type "ReplicationTypeEnum" due to enumeration values that are not valid #84

@RobotScience

Description

@RobotScience

Please makes sure these boxes are checked before submitting your issue (put an X between the brackets).

  • Check that your Powershell version > 5.0 (Bonus point if you are using the latest version available)
  • Check that you follow the instructions for installing the module

Also, please provide:

  • Any instructions that may help to reproduce the problem
  • Informations about your host $PSVerionTable
  • The list of the loaded modules Get-Module

$PSVersionTable:
Name Value


PSVersion 5.1.17763.1007
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.1007
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Module version:

Name : Unity-Powershell
Path : C:\Program Files\WindowsPowerShell\Modules\Unity-Powershell\0.16.2\Unity-Powershell.psm1
Description : Powershell module for working with EMC Unity array
ModuleType : Script
Version : 0.16.2
NestedModules : {}
ExportedFunctions : {Connect-Unity, Disable-UnityFastCache, Disconnect-Unity, Enable-UnityFastCache...}
ExportedCmdlets :
ExportedVariables :
ExportedAliases :

To replicate, connect to a Unity array and issue the command 'Get-UnityNASServer'. Tested on Unity 680, software version: 5.0.2.0.5.009.

Full error:
Exception setting "replicationType": "Cannot convert value "3" to type "ReplicationTypeEnum" due to enumeration values that are not
valid. Specify one of the following enumeration values and try again. The possible enumeration values are "None,Local,Remote"."
At line:29 char:46

  •             $Object."$($_.name)" = $D."$($_.name)"
    
  •                                          ~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
    • FullyQualifiedErrorId : ExceptionWhenSetting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions