Unify Windows client bootstrap and discover network paths
This commit is contained in:
1 parent
74235ec6f8
commit
7f8a9eed4e
14 files changed
+634
-219
No files matched your search
@@ -33,8 +33,9 @@ try {
|
||||
}
|
||||
|
||||
if ($user) {
|
||||
# Preserve existing credentials on enrollment/repair. Resetting the same
|
||||
# password after domain join can violate password history/complexity.
|
||||
Set-LocalUser -Name $userName `
|
||||
-Password $securePassword `
|
||||
-PasswordNeverExpires $true `
|
||||
-Description $description
|
||||
if (-not $user.Enabled) {
|
||||
|
||||
Reference in new issue
Block a user