Repair-DeployRuleSetCompliance
Remediates any differences discovered by between the rules and the actual associations between hosts and their items. Use this cmdlet if you added or changed a rule and want to apply the change to all affected hosts. Run Test-DeployRuleSetCompliance to retrieve the required TestResult object. You must have the privileges necessary to perform the association operations.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
TestResult | named |
|
Output from a call to Test-DeployRuleSetCompliance. |
Output
Examples
Related Commands
DeployRule
Gets a DeployRule object.
Adds one or more rules to the rule set.
Clones an existing rule.
Updates an existing rule.
Removes a rule from the working rule set.
Creates a new rule.
DeployRuleSet
Gets the current working rule set or the current active rule set.
Sets the list of rules in the working rule set.
DeployRuleSetCompliance
Remediate any non-compliant associations discovered by Test-DeployRuleSetCompliance
Checks whether hosts are compliant with rules.