diff --git a/profile.ps1 b/profile.ps1 index 9496dba..a07afb9 100644 --- a/profile.ps1 +++ b/profile.ps1 @@ -28,7 +28,7 @@ function Get-BetterADUser { [string] $SearchTerm, [string] - $Server = '{0}:3268' -f $env:USERDNSDOMAIN + $Server = $env:USERDNSDOMAIN ) $filter = 'UserPrincipalName -like "*{0}*" -or Name -like "*{0}*"' -f $SearchTerm