We have module which is distributed to client machines via GPO. We would like to have several parts of company to contribute cmdlets inside that module but don’t want them to interfere with each other while they are editing their modules. Something like #include statement in ASP where you specify what you need to merge into pipeline.
So ultimately my dream is to have module called say Company.psm and inside that module will bunch of #include statements to other PSM files or TXT files which will be interpreted as powershell functions.
How this can be done (not specific scenario I outlines but in general where only one PSM file exists and yet cmdlets are pulled from other TXT,PSM files into it)