From 5bc48ca478fe7899e642e7b14c641bcac690abff Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 23 Jun 2023 14:03:03 +0200 Subject: [PATCH] Remove unnecessary statements --- scripts/Windows/OS/User.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/Windows/OS/User.ps1 b/scripts/Windows/OS/User.ps1 index d2c8d9de..ad09d99e 100644 --- a/scripts/Windows/OS/User.ps1 +++ b/scripts/Windows/OS/User.ps1 @@ -17,7 +17,6 @@ function New-PersonalUser([Context] $context) $users = Get-LocalUser | ForEach-Object { $_.Name }; Write-Host "Following users exist already:" Write-Host $users; - $users += @("WDAGUtilityAccount", "User"); Read-Host "Please hit enter once you're done..."; $user = Get-LocalUser | Where-Object { -not ($users -contains $_.Name) } | Select-Object -Last 1;