PowerShell.Wiz.Utility.psm1
$src = @(Get-ChildItem -Path $PSScriptRoot\src\*\*.ps1 -Recurse -ErrorAction SilentlyContinue) Foreach($import in $src) { try { . $import.fullname } catch { Write-Error -Message "Failed to import function $($import.fullname): $_" } } Export-ModuleMember -Function $src.Basename -Alias * |