Skip to content

Populate FunctionsToExport with explicit list of commands #205

Open
@FriedrichWeinmann

Description

Hi,

thanks for the awesome project! I've got a small feature request:
Could you - going forward - update your PSPKI.psd1 on release to no longer include FunctionsToExport = '*' and instead list each command individually?
The wildcard is convenient as you develop, but it has some problems when trying to run the module in a hardened environment and it makes discovery a pain.

For example, I can search for all modules on the gallery that contain a given command:

Find-Module -Command Revoke-Certificate

As of now, there's one module that's not going to be found ...

Metadata

Assignees

No one assigned

    Labels

    questionThis is a general question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions