From 84a8902b4831e77ef2d892414ad672fe2af4e13d Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Thu, 5 Nov 2015 17:44:29 +0100 Subject: [PATCH] fixxed problem with match @ --- windows/win_acl.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/win_acl.ps1 b/windows/win_acl.ps1 index fb12ae6cee3..6e497c417be 100644 --- a/windows/win_acl.ps1 +++ b/windows/win_acl.ps1 @@ -42,7 +42,7 @@ Function UserSearch } } - Elseif ($AccountName -contains "@") + Elseif ($AccountName.contains("@")) { $IsDomainAccount = $true $IsUpn = $true