OBS.psm1

$Functions = @( Get-ChildItem -Path "$PSScriptRoot\Functions\*.ps1" )
@($Functions) | ForEach-Object {
    Try {
        . $_.FullName
    } Catch {
        Write-Error -Message "Failed to import function $($_.FullName): $_"
    }
}
Export-ModuleMember -Function $Functions.BaseName