@ -28,7 +28,7 @@ function Get-BetterADUser {
[string]
$SearchTerm,
$Server = '{0}:3268' -f $env:USERDNSDOMAIN
$Server = $env:USERDNSDOMAIN
)
$filter = 'UserPrincipalName -like "*{0}*" -or Name -like "*{0}*"' -f $SearchTerm