PoShLog.Tools.psm1
# dot source all script files Get-ChildItem -Path "$PSScriptRoot\functions" -Recurse -File -Filter '*.ps1' | ForEach-Object { . $_.FullName # Export all functions except internal if ($_.FullName -notlike '*\internal\*') { Export-ModuleMember $_.BaseName } } |