Queue next user after configuration finished
This commit is contained in:
parent
17939bee8c
commit
6ba58ee07e
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue