You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If set to 1 the password is reset immediately instead of changing the expiration time.
26
26
(Enforced automatically in Azure AD environments, because changing the expiration time is not supported in this scenario.)
27
27
28
-
Exit-Codes:
28
+
Exit codes:
29
29
0 : Script executed successful.
30
30
501 : Package execution has stopped, because it is running in WinPE.
31
31
502 : Operating System is not supported.
@@ -40,11 +40,19 @@ Exit-Codes:
40
40
511 : Windows LAPS password reset failed.
41
41
512 : Legacy Microsoft LAPS password reset failed.
42
42
43
+
Log levels:
44
+
ERROR : Something that is causing the script to fail.
45
+
WARNING : Something that might need some action.
46
+
NOTICE : An information that is important.
47
+
INFORMATION : Normal execution information. (No prefix in the log text.)
48
+
DEBUG : Information needed when analyzing problems. (No prefix in the log text and written to "Host" log only.)
49
+
43
50
Changes (Date / Version / Author / Change):
44
51
2022-11-11 / 0.1 / htcfreek / Initial pre-release version of the package.
45
52
2023-01-25 / 0.2 / htcfreek / Complete rewrite of the package with changed variables and behavior.
46
53
2023-02-19 / 1.0 / htcfreek / Fix exception for missing LAPS user, comment improvement and first stable release.
47
54
2023-03-30 / 1.1 / htcfreek / Fix incorrect detection of missing Windows LAPS on unsupported systems with missing Legacy CSE.; Clean up PXE log in EMC.; Other log improvements (reboot, managed user).
55
+
2023-04-04 / 1.2 / htcfreek / Improved reboot behavior on pending Domain join reboot.; Adding a description of the log levels.
48
56
49
57
#>
50
58
@@ -202,7 +210,11 @@ function Update-ClientMgmtConfiguration([int]$IntuneSyncTimeout)
0 commit comments