Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-06-23 12:34:12 +02:00
parent 1eb8875757
commit 63ccde7031

View file

@ -14,7 +14,7 @@ function New-PersonalUser([Context] $context)
"Thus, you have to do it by yourself.",
"So sorry..."));
$users = Get-LocalUser | Select-Object { $_.Name };
$users = Get-LocalUser | ForEach-Object { $_.Name };
Write-Host "Following users exist already:"
Write-Host $users;
$users += @("WDAGUtilityAccount", "User");