Fix non-functioning code

This commit is contained in:
Manuel Thalmann 2023-06-23 12:34:12 +02:00
parent a01dd4bb73
commit 8f854be194

View file

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