fixxed problem with match @

This commit is contained in:
Hans-Joachim Kliemeck 2015-11-05 17:46:25 +01:00 committed by Matt Clay
parent 9ba30d2cea
commit 186197397c

View file

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