fixxed problem with match @

reviewable/pr18780/r1
Hans-Joachim Kliemeck 9 years ago
parent f281eb2b30
commit 5753a05625

@ -352,7 +352,7 @@ Function Nssm-Update-Credentials
} }
else { else {
$fullUser = $user $fullUser = $user
If (-not($user -contains "@") -and ($user.Split("\").count -eq 1)) { If (-Not($user.contains("@")) -And ($user.Split("\").count -eq 1)) {
$fullUser = ".\" + $user $fullUser = ".\" + $user
} }

Loading…
Cancel
Save