fixxed problem with match @

This commit is contained in:
Hans-Joachim Kliemeck 2015-11-05 17:44:29 +01:00
parent a0a51ffd66
commit 84a8902b48

View file

@ -42,7 +42,7 @@ Function UserSearch
}
}
Elseif ($AccountName -contains "@")
Elseif ($AccountName.contains("@"))
{
$IsDomainAccount = $true
$IsUpn = $true