Fix non-functioning code
This commit is contained in:
parent
1eb8875757
commit
63ccde7031
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue