Skip to content

Discover extension for PSModulePath #913

Description

Summary of the new feature / enhancement

It would make sense for some PS Modules to include extensions or even resources. SecretManagement makes sense to have a secret extension and AzPS also (for AzKeyVault).

Proposed technical implementation details (optional)

Add a new discover extension that searches PSModulePath for resources and extensions. Need to have some caching so that it doesn't crawl all the paths each time. It may be more efficient to also require the module manifest to declare it.

Activity

  1. michaeltlombardi commented on Jun 30, 2025

    @michaeltlombardi
    Collaborator

    To be clear, the idea here that I could implement a DSC extension in PowerShell that this discovery extension would find?

  2. SteveL-MSFT commented on Jun 30, 2025

    @SteveL-MSFT
    MemberAuthor

    Yes, resources are already discovered via the adapter, so this is for extensions that ship with PSModules.

  3. Gijsreyn commented on Jul 31, 2025

    @Gijsreyn
    Collaborator

    Would it make sense to check the existing caching available already e.g. PSAdapterCache.json and WindowsPSAdapterCache.json to see if they're available?

  4. moved this from Todo to In Progress in DSC Working Groupon Oct 1, 2025
  5. moved this from In Progress to Reviewed in DSC Working Groupon Oct 1, 2025
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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions