Fix one more typo

This commit is contained in:
Manuel Thalmann 2023-06-22 23:39:49 +02:00
parent 0f16e1af6c
commit b210e1e847

View file

@ -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 | Where-Object { -not ($users -contains $_.Name) } | Select-Object -Last 1;
if ($user) {
break;