Fix infinite loop

This commit is contained in:
Manuel Thalmann 2024-08-22 20:41:17 +02:00
parent e294564e92
commit bc56474a16

View file

@ -611,6 +611,8 @@ $null = New-Module {
if (-not $msAccount) { if (-not $msAccount) {
net user $name /logonpasswordchg:yes; net user $name /logonpasswordchg:yes;
} }
Set-UserStage ([UserStage]::Completed);
} }
} }
} }