The Auto Deploy rules that you create are not active and can't be used by the Auto Deploy server. Newly created rules must be activated by adding them to a ruleset. A ruleset is nothing but an array of deploy-rules, in which the rules are queued in the order in which they are added.
There are two types of rule sets:
Active ruleset
Working ruleset
Deploy rules can be added to the ruleset by using the Add-DeployRule
cmdlet:
Syntax:
Add-DeployRule –DeployRule "<Name of the Rule>"
Example:
Add-DeployRule -DeployRule Rule001 Add-DeployRule -DeployRule Rule001-HP –At 0
Here, the -At
is the queue location of the rule in the ruleset. The lower numbered rules are auctioned first by Auto Deploy: