Queue next user after configuration finished

This commit is contained in:
Manuel Thalmann 2024-08-10 15:20:36 +02:00
parent 17939bee8c
commit 6ba58ee07e

View file

@ -532,9 +532,12 @@ $null = New-Module {
}
}
if (-not (Get-UserConfig -UserName "$user" "microsoftAccount")) {
if (-not $msAccount) {
net user "$user" /logonpasswordchg:yes;
}
Set-CurrentUser ($currentUser + 1);
continue;
}
Set-IsFinished $true;