test1.ps1

Get-ChildItem -Path $PSScriptRoot\*.ps1 -Recurse -Exclude *.tests.ps1, *profile.ps1 |
ForEach-Object {
    . $_.FullName
}