File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
winserver2022-ps/activedirectory
winserver2025-ps/activedirectory Expand file tree Collapse file tree 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"
7171
7272This example creates two new fine-grained password policy objects using a template object.
7373
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-
8174## PARAMETERS
8275
8376### -AuthType
@@ -275,6 +268,10 @@ The LDAP display name (**ldapDisplayName**) of this property is **msDS-lockoutOb
275268The lockout observation window must be smaller than or equal to the lockout duration for a password policy.
276269Use the *LockoutDuration* parameter to set the lockout duration time.
277270
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+
278275Specify the time interval in the following format :
279276
280277` 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"
7171
7272This example creates two new fine-grained password policy objects using a template object.
7373
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-
8174## PARAMETERS
8275
8376### -AuthType
@@ -275,6 +268,10 @@ The LDAP display name (**ldapDisplayName**) of this property is **msDS-lockoutOb
275268The lockout observation window must be smaller than or equal to the lockout duration for a password policy.
276269Use the *LockoutDuration* parameter to set the lockout duration time.
277270
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+
278275Specify the time interval in the following format :
279276
280277` D:H:M:S.F`
You can’t perform that action at this time.
0 commit comments