MsftErrorLookup.psm1
$PrivateScripts = @(Get-ChildItem $PSScriptRoot\Private\*.ps1) $PublicScripts = @(Get-ChildItem $PSScriptRoot\Public\*.ps1) # Dot source all scripts Foreach ($Script in ($PrivateScripts + $PublicScripts)) { . $Script.FullName } Export-ModuleMember -Function $PublicScripts.BaseName |