Fix infinite loop
This commit is contained in:
parent
e294564e92
commit
bc56474a16
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue