Skip to content

Get-DscConfiguration will throw when xWebsite returns $null LogCustomFields #372

Description

@regedit32

Get-DscConfiguration is very particular about the data type that is returned. In the MOF String LogCustomFields is defined as an array, but if $website.logFile.customFields.Collection is $null, then $null is being included in the Get return, which is not the same as an empty array. $cimLogCustomFields should be casted as an array.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe issue is a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions