DUST.psm1
1 2 3 4 5 6 7 |
foreach($import in @( Get-ChildItem -Path "$PSScriptRoot\Internal\*.ps1" -ErrorAction SilentlyContinue )) { try { . $import.fullname } catch { Write-Error -Message "Failed to import function $($import.fullname): $_" } } |