Skip to content

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

@regedit32

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.

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