![]() NAME Repair-DeployRuleSetCompliance SYNOPSIS Remediate any non-compliant associations discovered by Test-DeployRuleSetCompliance SYNTAX Repair-DeployRuleSetCompliance [-TestResult] DESCRIPTION Remediates any differences discovered by between the rules and the actual associations between hosts and their item s. 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. PARAMETERS -TestResult Output from a call to Test-DeployRuleSetCompliance. Required? true Position? 1 Default value Accept pipeline input? true (ByValue) Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters". INPUTS TestResult[] OUTPUTS NOTES -------------- Example 1 -------------- C:\PS> Get-VMHost h1 | Test-DeployRuleSetCompliance | Repair-DeployRuleSetCompliance RELATED LINKS Test-DeployRuleSetCompliance |