ExplainLinuxFS.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 'ldexplain' -Value "Get-LinuxDirectoryExplained" # Export everything in the directory Export-ModuleMember -Function * -Cmdlet * -Alias * |