Hello,
I’m trying to set up a module that’s used as a toolbox for our Office365 deployment. I’ve managed to setup a Nexus (nuget) repository locally to store the module, but I’m a bit stuck on configuring the ExternalModuleDependencies ore is it RequiredModules in the Manifest for the module. As I understood it the dependant modules should be checked when the module is install or imported, or even run! However the custom cmdlets just error, after I import the required modules, everything works okay.
I’ve added this to the PSData hashtable.
Is this correct, I’m guessing I’m missing something here. Do I have to add the import-module commands to the psm1? I thought this was automatic on PS 5.