internal/scripts/preimport.ps1
# Add all things you want to run before importing the main code foreach ($function in (Get-ChildItem (Join-PSFPath $script:ModuleRoot 'internal' 'configurations' 'validations'))) { . Import-ModuleFile -Path $function.FullName } foreach ($function in (Get-ChildItem (Join-PSFPath $script:ModuleRoot 'internal' 'configurations' '*.ps1'))) { . Import-ModuleFile -Path $function.FullName } |