Lest say I have three classes names Dog
, Cat
and Tree
in matching files Dog_file.psm1
,Cat_file.psm1
and Tree_file.psm1
. I need to create one Powershell module with these three files. while I'm reading trough https://msdn.microsoft.com/en-us/library/dd878337(v=vs.85).aspx I feel it can be achieve.
By reading various post and articles I think NestedModules
property in the .psd1
is the way. But not sure exactly how would be the folder structure that files need to place and syntax of the .psd1
file. So far couldn't find any sample
Someone done this before? I'm using Powershell 5