Powershell folder structure

I recommend the following folder structure when creating and organizing modules .psm1 and script files .ps1:

.\
.\LIBRARIES
.\LIBRARIES\lib-{library}
.\LIBRARIES\mod-{module}
.\global.psm1
.\script.ps1


Following this structure, you create an organization for your code that can easily support creating a framework and automating your import-module call.

0
Automating the import-module call Now on GitHub

No Comments

No comments yet

Leave a Reply

Your email address will not be published. Required fields are marked *