PowerShell-Docs-CommunityModule.psm1

# Get functions
$Functions = @( Get-ChildItem -Path $PSScriptRoot\*.ps1 -Recurse -ErrorAction SilentlyContinue )


foreach($import in @($Functions )){
    try {
        . $import.FullName
        $import
    }
    catch {
        Write-Error -Message "Failed to import function $($import.FullName): $_"
    }
}

# Aliases
#New-Alias -Name 'alias' -Value "get-cmdlet"

# Export everything in the directory
Export-ModuleMember -Function @("Find-MissingAliasNotes") -Cmdlet * -Alias *