Fix renaming user

This commit is contained in:
Manuel Thalmann 2024-08-09 02:20:27 +02:00
parent 40ade7b471
commit 0a464c90d9

View file

@ -28,7 +28,7 @@ $null = New-Module {
"So sorry…") -join "`n");
Write-Host "Create a user for ``$Name`` manually (because Windows is too stupid)…";
Read-Host "Hit enter once you're done";
$null = Read-Host "Hit enter once you're done";
$newUsers = @(Get-LocalUser | Where-Object { -not ($currentUsers -contains $_.Name) });