Set-PPEPolicyEnabled
The Set-PPEPolicyEnabled cmdlet sets the enabled/disabled status for a Password Policy Enforcer policy.
SYNTAX
Set-PPEPolicyEnabled__-PolicyName** <_string_>
**-Enable__]
<\_int_>
[<_CommonParameters_>
]
PARAMETERS
-PolicyName <_string_>
The policy name.
-Enable <_int_>
Specify 1 to enable the policy, specify 0 to dis -Poliable the policy. Can also use -E or -e.
<_CommonParameters_>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters https:/go.microsoft.com/fwlink/?LinkID=113216.
EXAMPLES
PS C:> Set-PPEPolicyEnabled -PolicyName "Eval Policy" -Enable 0
Policy "Eval Policy" is Disabled
PS C:> Set-PPEPolicyEnabled -PolicyName "Eval Policy" -Enable 1
Policy "Eval Policy" is Enabled