Fix typo
This commit is contained in:
parent
2c1ea94d97
commit
0f16e1af6c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function New-PersonalUser([Context] $context)
|
|||
$users = Get-LocalUser | Select-Object { $_.Name };
|
||||
Read-Host "Please hit enter once you're done...";
|
||||
|
||||
$user = Get-LocalUser | Select-Object { -not ($users -contains $_.Name) } | Select-Object -Last -1;
|
||||
$user = Get-LocalUser | Select-Object { -not ($users -contains $_.Name) } | Select-Object -Last 1;
|
||||
|
||||
if ($user) {
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue