【发布时间】:2017-12-29 01:43:02
【问题描述】:
我已经使用 PowerShell 在 Server 2012 中创建了一个组织单位,并且我还通过以下脚本使用 PowerShell 创建了一个细粒度的密码策略:
New-ADFineGrainedPasswordPolicy -Name test -DisplayName test -Precedence 100 -ComplexityEnabled $true -ReversibleEncryptionEnabled $false - PasswordHistoryCount 10 -MinPasswordLength 3 -MinPasswordAge 1.00:00:00 -MaxPasswordAge 100.00:00:00 -LockoutThreshold 3 -LockoutObservationWindow 0.00:05:00 -LockoutDuration 0.00:10:00
我想使用 PowerShell 命令在我创建的名为 "OU=HRdep,DC=ghufranataie,DC=com" 的组织单位中应用上述策略。
在以下命令中Applies To 为空。我不知道如何将名为 HRdep 可分辨名称的组织单位设置为名为 test 的细粒度密码策略。
截图:
【问题讨论】:
-
这个问题和你asked before的问题有什么不同?
标签: powershell active-directory windows-server-2012