Skip to content

JEA role capabilities cannot reference cmdlets in versioned modules #4104

@rpsqrd

Description

@rpsqrd

Note: Ported from bug 11787772

JEA role capability and session configuration files do not support adding cmdlets or functions from versioned modules to VisibleCmdlets or VisibleFunctions. This specifically applies to modules where each version is in a subfolder, e.g. C:\Program Files\WindowsPowerShell\Modules\MyModuleName\1.0.0\MyModuleName.psd1

Such modules are supported by the PowerShell module importing system, but JEA will not find those modules and, therefore, not make those cmdlets or functions visible in a JEA session.

The current workaround is to move those modules out of versioned folders into top level module folders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-No ActivityIssue has had no activity for 6 months or moreWG-Securitysecurity related areas such as JEA

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions