CmdID / PowerShell / Cmdlets / Set
Set-ADDefaultDomainPasswordPolicy
Modifies the default password policy for an Active Directory domain. Windows Server PowerShell reference
From the Windows Server PowerShell reference 16 parameters Its page in the reference
Parameters
-AuthTypeSpecifies the authentication method to use.-ComplexityEnabledSpecifies whether password complexity is enabled for the password policy.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies the user account credentials to use to perform this task.-IdentitySpecifies an Active Directory domain object by providing one of the following property values.-LockoutDurationSpecifies the length of time that an account is locked after the number of failed login attempts exceeds the lockout threshold.-LockoutObservationWindowSpecifies the maximum time interval between two unsuccessful login attempts before the number of unsuccessful login attempts is reset to 0.-LockoutThresholdSpecifies the number of unsuccessful login attempts that are permitted before an account is locked out.-MaxPasswordAgeSpecifies the maximum length of time that you can have the same password.-MinPasswordAgeSpecifies the minimum length of time before you can change a password.-MinPasswordLengthSpecifies the minimum number of characters that a password must contain.-PassThruReturns an object representing the item with which you are working.-PasswordHistoryCountSpecifies the number of previous passwords to save.-ReversibleEncryptionEnabledSpecifies whether the directory must store passwords using reversible encryption.-ServerSpecifies the Active Directory Domain Services instance to connect to, by providing one of the following values for a corresponding domain name or directory server.-WhatIf, -wiShows what would happen if the cmdlet runs.