File tree 2 files changed +8
-14
lines changed
winserver2022-ps/activedirectory
winserver2025-ps/activedirectory
2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,6 @@ PS C:\> New-ADFineGrainedPasswordPolicy -Instance $TemplatePSO -Name "AdminsPSO"
71
71
72
72
This example creates two new fine-grained password policy objects using a template object.
73
73
74
- ### Example 3: Create a fine-grained password policy with manual account unlock
75
- ``` powershell
76
- PS C:\> New-ADFineGrainedPasswordPolicy -Name "ManualUnlockPSO" -Precedence 500 -ComplexityEnabled $true -Description "Manual Unlock Password Policy" -DisplayName "Manual Unlock PSO" -LockoutDuration "00:00:00" -LockoutObservationWindow "00:00:00" -LockoutThreshold 3
77
- ```
78
-
79
- This command creates a fine-grained password policy object named ManualUnlockPSO that would require manual unlock of accounts by the administrator.
80
-
81
74
## PARAMETERS
82
75
83
76
### -AuthType
@@ -275,6 +268,10 @@ The LDAP display name (**ldapDisplayName**) of this property is **msDS-lockoutOb
275
268
The lockout observation window must be smaller than or equal to the lockout duration for a password policy.
276
269
Use the *LockoutDuration* parameter to set the lockout duration time.
277
270
271
+ > [!NOTE]
272
+ > Setting the lockout observation window to 0 effectively means that the window is too short to
273
+ > observe more than one password attempt, therefore the account will never be locked out.
274
+
278
275
Specify the time interval in the following format :
279
276
280
277
` D:H:M:S.F`
Original file line number Diff line number Diff line change @@ -71,13 +71,6 @@ PS C:\> New-ADFineGrainedPasswordPolicy -Instance $TemplatePSO -Name "AdminsPSO"
71
71
72
72
This example creates two new fine-grained password policy objects using a template object.
73
73
74
- ### Example 3: Create a fine-grained password policy with manual account unlock
75
- ``` powershell
76
- PS C:\> New-ADFineGrainedPasswordPolicy -Name "ManualUnlockPSO" -Precedence 500 -ComplexityEnabled $true -Description "Manual Unlock Password Policy" -DisplayName "Manual Unlock PSO" -LockoutDuration "00:00:00" -LockoutObservationWindow "00:00:00" -LockoutThreshold 3
77
- ```
78
-
79
- This command creates a fine-grained password policy object named ManualUnlockPSO that would require manual unlock of accounts by the administrator.
80
-
81
74
## PARAMETERS
82
75
83
76
### -AuthType
@@ -275,6 +268,10 @@ The LDAP display name (**ldapDisplayName**) of this property is **msDS-lockoutOb
275
268
The lockout observation window must be smaller than or equal to the lockout duration for a password policy.
276
269
Use the *LockoutDuration* parameter to set the lockout duration time.
277
270
271
+ > [!NOTE]
272
+ > Setting the lockout observation window to 0 effectively means that the window is too short to
273
+ > observe more than one password attempt, therefore the account will never be locked out.
274
+
278
275
Specify the time interval in the following format :
279
276
280
277
` D:H:M:S.F`
You can’t perform that action at this time.
0 commit comments