Skip to content

Using ResourceControllerDsc with Invoke-DscResource cmdlet can take up to a minute to import resources #15

@39Delta

Description

@39Delta

Using ResourceControllerDsc with Invoke-DscResource cmdlet can take up to a minute to import resources. When executing the Invoke-DscResource multiple times for different configurations it can take around a minute per config to complete execution. It appears that filtering resources based on name and version can take a long time to collect resource info from the environment.

By including the module name when retrieving resources, the query time can be significantly reduced.

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