fixxed problem with match @
This commit is contained in:
parent
f281eb2b30
commit
5753a05625
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue