GeoIP.psm1
$Functions = @(Get-ChildItem -Path $PSScriptRoot\Public\ -Include *.ps1 -Recurse) # Import functions. Write-Verbose "Discovered functions $($Functions | Out-String)" foreach ($Function in @($Functions)) { try { Write-Verbose "Importing function $($Function.FullName)" . $Function.FullName } catch { Write-Error -Message "Failed to import function $($Function.FullName): $_" } } |