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
Install-Module -Name IdLE
Import-Module -Name IdLE
Get-Module -Name IdLE.Provider.AD -ListAvailable -All
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
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-Moduleis not finding them, as they are not part of$env:PSModulePath.Steps to Reproduce
Install-Module -Name IdLEImport-Module -Name IdLEGet-Module -Name IdLE.Provider.AD-ListAvailable -AllImport-Module -Name IdLE.Provider.ADExpected Behavior
Import-Moduleshould import additional provided modules.Actual Behavior
It can't find the modules.
Additional Context