Syntax
Set-DeployRuleSet [-DeployRule] <DeployRule[]> [-NoActivate] [<CommonParameters>]Related Commands
Add-DeployRuleDetailed Description
Explicitly sets the list of rules in the working rule set. By default, the change to the working set is immediately activated.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
DeployRule | DeployRule[] | The array of rules that will make up the rule set. | true | false | |
Clear | SwitchParameter | Removes all rules from the working rule set. | true | false | |
NoActivate | SwitchParameter | Specify the NoActivate parameter to apply the change to the working rule set but not to the active rule set. | false | false |
Return Type
VMware.DeployAutomation.Types.DeployRuleSetNotes
Examples
-------------- Example 1 --------------
C:\PS> Set-DeployRuleSet "testrule"
Removes all rules from the working rule set and adds the rule named testrule.