Syntax
Repair-DeployRuleSetCompliance [-TestResult] <TestResult> [<CommonParameters>]Related Commands
Test-DeployRuleSetComplianceDetailed Description
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.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
TestResult | TestResult | Output from a call to Test-DeployRuleSetCompliance. | true | true (ByValue) |
Return Type
Notes
Examples
-------------- Example 1 --------------
C:\PS> Get-VMHost h1 | Test-DeployRuleSetCompliance | Repair-DeployRuleSetCompliance