Skip to content

ConvertTo-DSCObject throws Item has already been added for M365DSCRuleEvaluation #51

@ColinHJ

Description

@ColinHJ

Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'ResourceName' Key being added: 'ResourceName'"
At C:\Program Files\WindowsPowerShell\Modules\DSCParser\2.0.0.7\Modules\DSCParser.psm1:661 char:17

  •             $currentResourceInfo.Add($key, $value) | Out-Null                                                     
    
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                   
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException                                        
    + FullyQualifiedErrorId : ArgumentException
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions