Skip to content

Publish Additional IdLE Modules to PowerShellGallery #131

Closed

Description

@blindzero

Description

The additional supplementary modules can't be loaded by Import-Module.
They are not set as NestedModules nor RequiredModules of IdLE, to avoid automatic import.
When just putting them into the module itself under Modules, Import-Module is not finding them, as they are not part of $env:PSModulePath.

Steps to Reproduce

  1. Install-Module -Name IdLE
  2. Import-Module -Name IdLE
  3. Get-Module -Name IdLE.Provider.AD -ListAvailable -All
  4. Import-Module -Name IdLE.Provider.AD

Expected Behavior

Import-Module should import additional provided modules.

Actual Behavior

It can't find the modules.

Additional Context

  • Set proper dependencies between modules, e.g. all sub modules depend on .Core
  • IdLE requires IdLE.Core, IdLE.Steps.Common
  • additional dependencies / requirements from Providers to Steps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions