Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update New-ADFineGrainedPasswordPolicy.md #3818

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ PS C:\> New-ADFineGrainedPasswordPolicy -Instance $TemplatePSO -Name "AdminsPSO"

This example creates two new fine-grained password policy objects using a template object.

### Example 3: Create a fine-grained password policy with manual account unlock
```powershell
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
```

This command creates a fine-grained password policy object named ManualUnlockPSO that would require manual unlock of accounts by the administrator.

## PARAMETERS

### -AuthType
Expand Down Expand Up @@ -274,6 +267,7 @@ The LDAP display name (**ldapDisplayName**) of this property is **msDS-lockoutOb

The lockout observation window must be smaller than or equal to the lockout duration for a password policy.
Use the *LockoutDuration* parameter to set the lockout duration time.
**Note:** Setting the lockout observation window to 0 realistically means that the window is too short to reasonably observe more than one password attempt, and therefore the account will not ever be locked out.
BRDPM marked this conversation as resolved.
Show resolved Hide resolved

Specify the time interval in the following format:

Expand Down
Loading